From af2a86dbbe05d74b00a6e7bdc426e26bb0453654 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 31 七月 2024 11:35:34 +0800
Subject: [PATCH] fix bug

---
 plugins/storage.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/plugins/storage.js b/plugins/storage.js
index 4d0f7ae..0f9adf4 100644
--- a/plugins/storage.js
+++ b/plugins/storage.js
@@ -1,5 +1,14 @@
 // import Vue from 'vue'
-const APPID = 'hmy-token' + process.env.PUB_TYPE
+let APPID = 'hmy-token' + process.env.PUB_TYPE
+// #ifdef PUB_CUSTOMER
+APPID = 'hmy-token-customer'
+// #endif
+// #ifdef PUB_PARTNER
+APPID = 'hmy-token-partner'
+// #endif
+
+
+
 const storage = {
 	getItem(key) {
 		return uni.getStorageSync(`${APPID}_${key}_${process.env.NODE_ENV}`)
@@ -17,4 +26,4 @@
 
 // Vue.prototype.$storage = storage
 
-export default storage
+export default storage
\ No newline at end of file

--
Gitblit v1.9.3