diff --git a/components/lf-waterfall-recom/lf-waterfall.vue b/components/lf-waterfall-recom/lf-waterfall.vue index cb0d288..a3a1509 100644 --- a/components/lf-waterfall-recom/lf-waterfall.vue +++ b/components/lf-waterfall-recom/lf-waterfall.vue @@ -49,21 +49,19 @@ }, data(){ return { - + } }, computed: { - dataList() { - console.log('数据1111',this.list); - - let arr = []; - if(this.list && this.list.length){ - arr = this.list; - } - - - return arr; - } + dataList: { + // let arr = []; + // if(this.list && this.list.length){ + // arr = this.list; + // } + // return arr; + get() { return this.list; }, + set(newValue) { console.log('newvalue',newValue) } + }, }, onShow(){ @@ -73,7 +71,6 @@ }, methods: { onClick(id){ - console.log("aaaa"); this.$url('/pages/goodsDetail/index?goods_id='+id); this.$emit('click'); }, diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index 47b5d69..79771f1 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -6,7 +6,7 @@ - + diff --git a/pages/index/index.vue b/pages/index/index.vue index f124ceb..e24cd64 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,13 +1,13 @@