增加扩展方法提示Component is not found in path ?
发布于 5 年前 作者 chaodeng 2655 次浏览 来自 官方Issues

App({

onLaunch: function() {

Object.prototype.log = function() {

console.log(this);

};

var f = 7878787;

f.log();

},

domainList: {

api: http://192.168.0.103:4567

},

accountInfo: null,

onShow: function() {

},

log: function(obj) {

console.log(obj);

}

})

2 回复

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

谢邀,不过看不懂,好难的样子

回到顶部