From d41f1f707dc643b726a42b9d2a63b186dd9e4f28 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 06 八月 2024 16:12:38 +0800
Subject: [PATCH] ll
---
wechat_jiaxuan/pages/detailDis/product.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/wechat_jiaxuan/pages/detailDis/product.js b/wechat_jiaxuan/pages/detailDis/product.js
index 143689d..cc5c0d8 100644
--- a/wechat_jiaxuan/pages/detailDis/product.js
+++ b/wechat_jiaxuan/pages/detailDis/product.js
@@ -31,6 +31,9 @@
id: options.id
})
},
+ onShow(){
+ this.setData({ member: wx.getStorageSync('member') })
+ },
onUnload() {
console.log('璇︽儏杩涜浜嗛攢姣�');
setTimeout(() => {
@@ -138,6 +141,7 @@
handleDesign() {
const { member } = this.data
if (!member.phone) {
+ wx.setStorageSync('tempPath', '/pages/design/design')
return wx.navigateTo({
url: '/pages/auth/auth',
})
--
Gitblit v1.9.3