Selaa lähdekoodia

Merge branch 'master' of http://git.jhcs888.com/zpj/zh-new-promotion

USER-20230908AJ\Administrator 2 vuotta sitten
vanhempi
commit
16d89df3f1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      service/router.js

+ 1 - 1
service/router.js

@@ -59,7 +59,7 @@ router.beforeEach( async (to, from, next) => {
 				await userWxAppletLogin(from).then((res)=>{
 				await userWxAppletLogin(from).then((res)=>{
 					if (res.code === 1) {
 					if (res.code === 1) {
 						uni.setStorageSync('userNmae',res.data.name)
 						uni.setStorageSync('userNmae',res.data.name)
-						uni.setStorageSync('token_str',res.data.token)
+						uni.setStorageSync('token_str',res.data.token_str)
 						uni.setStorageSync('m_id',res.data.m_id)
 						uni.setStorageSync('m_id',res.data.m_id)
 						next()
 						next()
 					} else {
 					} else {