pages/bookExhibitionList/index.js
@@ -104,8 +104,8 @@ // let that = this; // setTimeout(function () { // that.data.name = "测试watch变化了" // }, 5000) // // }, 500) // console.log(11111); }, watch: { name: function (newVal, oldVal) { @@ -127,12 +127,8 @@ * 生命周期函数--监听页面显示 */ onShow() { this.bookExhibitionGet() this.keyProjectsGet(this.data.newPrice) }, /** @@ -432,6 +428,7 @@ this.bookExhibitionGet(newValue) } this.onLoad() }, // 重点项目