Browse Source

避免开发环境缓存无隔离的清空

xiaohaizhao 1 year ago
parent
commit
799c05b712
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pages/index/index/index.vue

+ 2 - 0
pages/index/index/index.vue

@@ -238,6 +238,8 @@ export default {
                 });
                 this.shopDetail = list[0];
                 this.storeList = list;
+              } else {
+                this.shopDetail = {};
               }
             });
         });