Browse Source

搜索分类

panhui 3 years ago
parent
commit
27b8b5bbe8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/product/HopeMarket.vue

+ 3 - 1
src/views/product/HopeMarket.vue

@@ -308,7 +308,9 @@ export default {
             this.$http
                 .post('/setting/byFlag', { flag: 1 })
                 .then(res => {
-                    this.settings = res;
+                    this.settings = res.filter(item => {
+                        return item.pic;
+                    });
                     setTimeout(() => {
                         this.$nextTick(() => {
                             this.normalHeight = this.$refs.top.$el.offsetHeight;