diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue index bf66b90..c8edc64 100644 --- a/order/orderDetail/orderDetail.vue +++ b/order/orderDetail/orderDetail.vue @@ -35,11 +35,11 @@ 邮箱 {{ form.email }} - + @@ -72,6 +72,9 @@ console.log(22, userInfo) uni.setStorageSync('userName', userInfo.nickName) uni.setStorageSync('avatar', userInfo.avatarUrl) + uni.setStorageSync('token', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyIiwiaWF0IjoxNjk4OTkxMTU1LCJleHAiOjE2OTk4NTUxNTUsImFjY291bnRJZCI6IjEwOCJ9.u1zi29b93oGhY38gkgldBhhvguXFGeVPd_x2OalQBXQ') + this.toIndex() + return uni.login({ success: ({ code }) => { if (code) {