From 932edc756570afa4e7b016f4d2748e2a8d95a662 Mon Sep 17 00:00:00 2001 From: fujunling <2984387807@qq.com> Date: 星期五, 07 七月 2023 10:51:41 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- 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