From bb383098e5b87b67038b9cbcca5d081e3c699a75 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 11 十二月 2024 10:08:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
h5/store/index.js | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/h5/store/index.js b/h5/store/index.js
index 94fb56e..9e5b043 100644
--- a/h5/store/index.js
+++ b/h5/store/index.js
@@ -20,7 +20,6 @@
state: {
openId: openId || '',
- // openId: openId || '123123',
member: member || null,
statusbarHeight: statusbarHeight || '0',
navHeight: navHeight || '0',
@@ -80,12 +79,11 @@
},
// 娓呯┖鐧诲綍缂撳瓨
empty(state) {
+ uni.clearStorageSync()
state.token = ''
+ state.openId = ''
state.userInfo = {}
state.driverInfo = {}
- uni.removeStorageSync('userInfo')
- uni.removeStorageSync('driverInfo')
- uni.removeStorageSync('token')
}
},
actions: {
--
Gitblit v1.9.3