mirror of
https://github.com/yangzongzhuan/RuoYi-Vue3.git
synced 2025-09-27 23:02:41 +00:00
修复自定义字典样式不生效问题
This commit is contained in:
@@ -9,7 +9,7 @@ export function useDict(...args) {
|
||||
args.forEach((d, index) => {
|
||||
res.value[d] = [];
|
||||
getDicts(d).then(resp => {
|
||||
res.value[d] = resp.data.map(p => ({ label: p.dictLabel, value: p.dictValue, elTagType: p.listClass }))
|
||||
res.value[d] = resp.data.map(p => ({ label: p.dictLabel, value: p.dictValue, elTagType: p.listClass, elTagClass: p.cssClass }))
|
||||
})
|
||||
})
|
||||
return toRefs(res.value);
|
||||
|
Reference in New Issue
Block a user