代码怎么运行?
NinjaJin opened this issue · comments
下载代码以后用开发工具打开,显示不了内容
重启了一次开发者工具又正常了=。=
@NinjaJin 填写 appid 就可以正常打开了,开发者工具有时候会出现莫名其妙的问题,可以重启一下试试。
@myvin 我的->标签管理页面,点所有标签有BUG:
swiperChanged(e) {
console.log('swiperChanged', e)
this.setData({
currentSwiper: e.detail.currentItemId,
})
}
currentItemId应该是current
@NinjaJin 那块没有问题,因为我比较的是字符串。。。currentItemId 是 string,current 是 int。switchSwiper 里面倒是错了,应该把 parseInt 去掉,已改 + commit。谢谢~~