- 微信小程序的app.js如何建立两套tabBar
我想根据用户的不同身份,建立两套tabBar,根据权限的不同,展示不同的tabBar
2017-09-22 - 在引用chart.js时打印出的数据多出一个是什么问题呢?
在引用chart.js绘制雷达图的时候,请求后的数据没有问题,但用console.log调试显示的时候显示多出一个,是"_chart.js:object",不知道是什么问题。显示的数组如下: ["2", "21", "1", "1", "26", "19", "19", "14", "10", "18", "24", _chartjs: Object] 0:"2" 1:"21" 2:"1" 3:"1" 4:"26" 5:"19" 6:"19" 7:"14" 8:"10" 9:"18" 10:"24" _chartjs:Object length:11 pop:value() push:value() shift:value() splice:value() unshift:value() __proto__:Array[0]
2017-07-18 - 'webviewId'没有定义?
Cannot read property 'webviewId' of undefined 这是出了什么问题? 错误代码: jsEnginScriptError Cannot read property 'webviewId' of undefined TypeError: Cannot read property 'webviewId' of undefined at B (http://1874872866.appservice.open.weixin.qq.com/WAService.js:8:19504) at j (http://1874872866.appservice.open.weixin.qq.com/WAService.js:8:20131) at .<anonymous> (http://1874872866.appservice.open.weixin.qq.com/WAService.js:8:22039) at http://1874872866.appservice.open.weixin.qq.com/WAService.js:8:26882 at http://1874872866.appservice.open.weixin.qq.com/WAService.js:4:9686 at Array.forEach (native) at .<anonymous> (http://1874872866.appservice.open.weixin.qq.com/WAService.js:4:9666) at http://1874872866.appservice.open.weixin.qq.com/WAService.js:4:21083 at n.<anonymous> (http://1874872866.appservice.open.weixin.qq.com/asdebug.js:1:12545) at n.emit (http://1874872866.appservice.open.weixin.qq.com/asdebug.js:1:8747)
2017-07-16 - 不知是哪出了问题,请大虾们指点哈,在线等,谢谢~
index.wxml: <view> <image src="../../images/grades.jpg" class="profile"></image> </view> <view> <label class="labelS">欢迎您登陆在线查询系统</label> </view> <view> <button bindtap="navigTo" ontap="navigTo">查询</button> </view> index.js: navigTo:function(){ wx.redirectTo({ url: '/pages/searchInfo/searchInfo', }) }, 调试里面没有报错,app.json中也已经注册这一页了。 不知是哪出了问题,请大虾们指点哈,在线等,谢谢~
2017-07-16