diff --git a/components/lf-waterfall-shopdetails/lf-waterfall.vue b/components/lf-waterfall-shopdetails/lf-waterfall.vue index 5456268..25b9495 100644 --- a/components/lf-waterfall-shopdetails/lf-waterfall.vue +++ b/components/lf-waterfall-shopdetails/lf-waterfall.vue @@ -89,9 +89,13 @@ get() { console.log('组件当前数据====',this.list) console.log(this.ifsale) + this.$forceUpdate(); return this.list; }, - set(newValue) { console.log('newvalue',newValue) } + set(newValue) { + this.$forceUpdate(); + console.log('newvalue',newValue) + } }, }, // watch: { diff --git a/components/shopList/shopList.vue b/components/shopList/shopList.vue new file mode 100644 index 0000000..99a17ff --- /dev/null +++ b/components/shopList/shopList.vue @@ -0,0 +1,181 @@ + + + + + diff --git a/pages/shop/searchList.vue b/pages/shop/searchList.vue index 401e84c..d5febe5 100644 --- a/pages/shop/searchList.vue +++ b/pages/shop/searchList.vue @@ -16,8 +16,8 @@ - - + +