From 77554b79ad864dfc903af8db355a34b622876ef8 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 6 Dec 2023 17:14:49 +0800 Subject: [PATCH] fix --- order/orderDetail/orderDetail.vue | 6 +++--- order/productDetail/productDetail.vue | 17 +++++++++++++---- pages/login/login.vue | 7 +++++-- 3 files changed, 21 insertions(+), 9 deletions(-) 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) {