Skip to content

Commit 458b035

Browse files
author
piexlmax(奇淼
committed
增加字典方法 GetDictionaryList,GetDictionaryListByType,GetDictionaryInfoByValue, GetDictionaryInfoByTypeValue 方便后台直接获取字典属性
前端增加extend属性获取
1 parent abe85cf commit 458b035

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/src/pinia/modules/dictionary.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ export const useDictionaryStore = defineStore('dictionary', () => {
2121
res.data.resysDictionary.sysDictionaryDetails && res.data.resysDictionary.sysDictionaryDetails.forEach(item => {
2222
dict.push({
2323
label: item.label,
24-
value: item.value
24+
value: item.value,
25+
extend: item.extend
2526
})
2627
})
2728
dictionaryRes[res.data.resysDictionary.type] = dict

0 commit comments

Comments
 (0)