From 8bd6e0f1c84f2bc5bf2b9555d1c5fb388565db6c Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 11 十二月 2024 19:17:12 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit

---
 h5/store/index.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/h5/store/index.js b/h5/store/index.js
index 0da49e4..9e5b043 100644
--- a/h5/store/index.js
+++ b/h5/store/index.js
@@ -19,7 +19,6 @@
 const store = new Vuex.Store({
 
 	state: {
-		// openId: openId || '061kuG0006hxcS13TT200w9VIp4kuG09',
 		openId: openId || '',
 		member: member || null,
 		statusbarHeight: statusbarHeight || '0',
@@ -80,10 +79,11 @@
 		},
 		// 娓呯┖鐧诲綍缂撳瓨
 		empty(state) {
+			uni.clearStorageSync()
 			state.token = ''
+			state.openId = ''
 			state.userInfo = {}
-			uni.removeStorageSync('userInfo')
-			uni.removeStorageSync('token')
+			state.driverInfo = {}
 		}
 	},
 	actions: {

--
Gitblit v1.9.3