在更新最新的之前,编译和运行没问题的,现在也报这个问题
更新开发工具后app.json报错VM94:5 appJSON["window"]["backgroundTextStyle"] 字段需为 dark 或 light 代码正常啊!之前好好地,昨天更新版本后,今天·启动失败 "window": { "backgroundTextStyle": "#fff", "navigationBarBackgroundColor": "#fff", "navigationBarTitleText": "wheact", "navigationBarTextStyle": "black" }, [图片] 现在是删除我原有的,改为微信默认的,照样提示错误,如图
2019-01-21用了encodeURIComponent转发后的url有问题,试下去掉encodeURIComponent,或者[代码] [代码][代码]var[代码] [代码]url = decodeURIComponent(options.url);要decode2次,转发时候好像会被微信再encode一次[代码]
小程序 web-view 转发后打开空白[代码]onLoad: [代码][代码]function[代码] [代码](options) {[代码][代码] [代码][代码]var[代码] [代码]url = decodeURIComponent(options.url);[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]web_src: url,[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码] wxml: [代码]<[代码][代码]web-view[代码] [代码]src[代码][代码]=[代码][代码]"{{web_src}}"[代码] [代码]bindmessage[代码][代码]=[代码][代码]"bindGetMsg"[代码][代码]></[代码][代码]web-view[代码][代码]>[代码] [代码]bindGetMsg: [代码][代码]function[代码] [代码](e) {[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]title: e.detail.data[0].tit,[代码][代码] [代码][代码]imageUrl: e.detail.data[0].thumb,[代码][代码] [代码][代码]web_src: e.detail.data[0].url,[代码][代码] [代码][代码]share_path: [代码][代码]'pages/wedding/wedding?url='[代码] [代码]+ encodeURIComponent(e.detail.data[0].url)[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码] 转发出去打开空白 是什么问题呢?
2018-07-02