计算属性出现警告信息,标识在第3和第10行的this上
来源:17-23 购物车详情页实现(3)

Rengar_fh
2018-01-21
listShow() { if (!this.totalCount) { this.fold = true; return false; } let show = !this.fold; if (show) { this.$nextTick(() => { if (!this.scroll) { this.scroll = new BScroll(this.$refs.listContent, { click: true }); } else { this.scroll.refresh(); } }); } return show; }
写回答
1回答
-
ustbhuangyi
2018-01-21
你的 fold 定义在哪里的?
0102018-04-08
相似问题