watch: {
swiperActive() {
console.log(3, Date.now() - test);
},
item_id() {
console.log(5, Date.now() - test);
}
},
methods: {
handleSwiperActive(index) {
test = Date.now();
this.swiperActive = index;
console.log(1, Date.now() - test);
this.item_id = index;
console.log(2, Date.now() - test);
},
handleSwiperChange(e) {
test = Date.now();
console.log(4, Date.now() - test);
this.swiperActive = e.detail.current;
},

9***@qq.com
- 发布:2019-11-06 18:12
- 更新:2019-11-06 18:12
- 阅读:963
ios端微信小程序 更新数据 延迟过大 500ms以上
分类:uni-app
0 个回复