pages/bookExhibitionList/index.js
@@ -87,7 +87,9 @@ * 生命周期函数--监听页面加载 */ onLoad(options) { this.bookExhibitionGet() this.keyProjectsGet(this.data.newPrice) // this.setData({ // 'product.value': '*', // }); @@ -100,12 +102,12 @@ }) // watch.setWatcher(this); // let that = this; // setTimeout(function () { // that.data.name = "测试watch变化了" // }, 5000) // watch.setWatcher(this); let that = this; setTimeout(function () { that.data.name = "测试watch变化了" }, 500) }, watch: { name: function (newVal, oldVal) {