wx.getExtConfig具体如何使用?
发布于 6 年前 作者 fang72 2218 次浏览 来自 官方Issues

ext.json文件:

{

"extEnable": true,

"extAppid": "wx46b1a29db1b19d7",

"directCommit": false,

"ext": {

  "user\_id": "123",

	"appid": "wx46b1a29db1b19d7",

	"apiurl": "<a href="http://10.1.1.235:8081" rel="noopener noreferrer" target="_blank">http://10.1.1.2.5:8081</a>"

},

"extPages": { },

"window":{ },

"networkTimeout": { },

"debug": true

}

通过

wx.getExtConfig

拿到的是 {} 对象。

wx.getExtConfig,该方法具体该如何使用?路过的大佬来帮忙解惑了

回到顶部