瀏覽代碼

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

xiaohaizhao 1 年之前
父節點
當前提交
799c05b712
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 = {};
               }
             });
         });