收藏
回答

增加扩展方法提示Component is not found in path ?

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 个回答

登录 后发表内容
问题标签