From 4496721cd3af3c68ed4d55218d3e83ea0664c57e Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期一, 29 四月 2024 17:53:10 +0800 Subject: [PATCH] bug3 --- pages/bookExhibitionList/index.js | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) diff --git a/pages/bookExhibitionList/index.js b/pages/bookExhibitionList/index.js index 0d31525..1b4cf32 100644 --- a/pages/bookExhibitionList/index.js +++ b/pages/bookExhibitionList/index.js @@ -52,7 +52,7 @@ ], }, multipleSelect: { - // value: [], + value: [], options: [], }, navBarHeight: '', @@ -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() + }, // 閲嶇偣椤圭洰 @@ -449,7 +444,11 @@ value } = event.detail; // 纭鎿嶄綔鐨勫鐞嗛�昏緫 - this.data.keynoteValue = value + // this.data.keynoteValue = value + this.setData({ + keynoteValue: value, + + }) this.bookExhibitionGet() }, -- Gitblit v1.9.1