Ver Fonte

绑定后清除信息

shish há 6 anos atrás
pai
commit
c98682ae1c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      store/src/admin/adminShop/bind.vue

+ 1 - 1
store/src/admin/adminShop/bind.vue

@@ -109,7 +109,7 @@ export default {
       generateAdmin(this.form).then(res => {
       generateAdmin(this.form).then(res => {
         this.showBindArea = false
         this.showBindArea = false
         this.showSuccessArea = true
         this.showSuccessArea = true
-        uni.setStorageSync('shopId', res.data.shopId);
+        uni.clearStorageSync();
       });
       });
     },
     },
     // 表单验证
     // 表单验证