liyongli 2 years ago
parent
commit
63ad07a7f3
2 changed files with 4 additions and 5 deletions
  1. 1 1
      saveOSSAGitte.js
  2. 3 4
      src/view/SilkRoadShanShiPinList/index.vue

+ 1 - 1
saveOSSAGitte.js

@@ -17,7 +17,7 @@ class saveOssGitte {
       bucket: "smcic-index",
       bucket: "smcic-index",
     });
     });
     this.execFun();
     this.execFun();
-    this.delDir();
+    // this.delDir();
   }
   }
 
 
   /**
   /**

+ 3 - 4
src/view/SilkRoadShanShiPinList/index.vue

@@ -246,12 +246,11 @@ const config = reactive({
   isShanShiPin: window.$shanshipin.UserId,
   isShanShiPin: window.$shanshipin.UserId,
 });
 });
 const t = config.isShanShiPin ? 5 : 1;
 const t = config.isShanShiPin ? 5 : 1;
+const phone = window.$shanshipin.Phone != 0 ? window.$shanshipin.Phone : localStorage.getItem("SilkRoadShanShiPinPhone") ||
+    "";
 const login = reactive({
 const login = reactive({
   name: localStorage.getItem("SilkRoadShanShiPinName") || "",
   name: localStorage.getItem("SilkRoadShanShiPinName") || "",
-  phone:
-    window.$shanshipin.Phone ||
-    localStorage.getItem("SilkRoadShanShiPinPhone") ||
-    "",
+  phone,
   code: "",
   code: "",
 });
 });