😎修复获取字典项类型错误
This commit is contained in:
parent
d2db39a358
commit
020b10b34b
@ -132,6 +132,7 @@ export const useUserInfo = defineStore('userInfo', {
|
||||
|
||||
// 根据字典类型和代码取字典项
|
||||
getDictItemByCode(typePCode: string, val: string) {
|
||||
val = val.toString();
|
||||
if (val) {
|
||||
const _val = val.toString();
|
||||
const ds = this.getDictDatasByCode(typePCode);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user