Browse Source

login调整

XhuiCoder 1 year ago
parent
commit
0d277194b2
1 changed files with 1 additions and 1 deletions
  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'
                 })