Browse Source

login调整

XhuiCoder 1 năm trước cách đây
mục cha
commit
0d277194b2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/login/index.vue

+ 1 - 1
pages/login/index.vue

@@ -288,7 +288,7 @@
                 data.sysUser = {}
                 data.sysUser.accountType = this.accountType
                 setUser(data.sysUser)
-                setToken(data.token.access_token)
+                setToken(data.access_token)
                 uni.switchTab({
                   url: '/pages/index/index'
                 })