yiming
2024-04-29 9cc35aa83764cb91436750db66e9868c99c1de90
pages/bookExhibitionList/index.js
@@ -87,9 +87,7 @@
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    this.bookExhibitionGet()
    this.keyProjectsGet(this.data.newPrice)
    // this.setData({
    //   'product.value': '*',
    // });
@@ -102,12 +100,12 @@
    })
    watch.setWatcher(this);
    let that = this;
    setTimeout(function () {
      that.data.name = "测试watch变化了"
    }, 500)
    // watch.setWatcher(this);
    // let that = this;
    // setTimeout(function () {
    //   that.data.name = "测试watch变化了"
    // }, 500)
    // console.log(11111);
  },
  watch: {
    name: function (newVal, oldVal) {
@@ -129,12 +127,8 @@
   * 生命周期函数--监听页面显示
   */
  onShow() {
    this.bookExhibitionGet()
    this.keyProjectsGet(this.data.newPrice)
  },
  /**
@@ -434,6 +428,7 @@
      this.bookExhibitionGet(newValue)
    }
    this.onLoad()
  },
  // 重点项目