From a1664efbefb313784e1920ffc8cfceda2a2ea1c8 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 07 八月 2024 14:50:03 +0800
Subject: [PATCH] 代码提交

---
 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