From c23e793aab1bee979cd9422949f3c648f35b074a Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期一, 10 七月 2023 23:00:22 +0800
Subject: [PATCH] 关于集成接口管理模块的开发
---
Source/UBCS-WEB/src/views/code/code.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue
index ecb6eac..b8f60a2 100644
--- a/Source/UBCS-WEB/src/views/code/code.vue
+++ b/Source/UBCS-WEB/src/views/code/code.vue
@@ -2648,12 +2648,12 @@
// console.log(this.form);
},
// 绗竴娆¤姹傜殑鏋氫妇鏁版嵁鏀剧紦瀛�
- getLocalStorageEnum(key){
- let enumCach = JSON.parse(localStorage.getItem(key));
+ getLocalStorageEnum(enumKey){
+ let enumCach = JSON.parse(localStorage.getItem(enumKey));
if(enumCach == null) {
- getDictionary({code: key}).then(res=>{
+ getDictionary({code: enumKey}).then(res=>{
enumCach = res.data.data;
- localStorage.setItem(key,JSON.stringify(res.data.data));
+ localStorage.setItem(enumKey,JSON.stringify(res.data.data));
})
}
return enumCach;
@@ -2697,7 +2697,7 @@
loadCodeGetValueType(){
this.enumParam.codeGetValueType = this.getLocalStorageEnum("codeGetValueType");
},
-
+
}
};
--
Gitblit v1.9.3