shish 6 anni fa
parent
commit
110b3b32f8
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      store/src/admin/adminShop/bind.vue

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

@@ -113,7 +113,9 @@ export default {
         this.showSuccessArea = true
         console.log(res)
         //这个shopId没有保存进去,无法到后台页面
-        //uni.setStorageSync('shopId', res.data.shopId)
+        uni.setStorageSync('shopId', res.data.shopId)
+        console.log('保存shopId的情况')
+        console.log(uni.getStorageSync('storage_key'))
         //this.$msg("添加成功!");
       });
     },