【新增】新增字典按需加载用dicts方式

This commit is contained in:
zhoulingpo
2023-05-06 15:47:12 +08:00
parent 181a775aa5
commit efcc113a1c
9 changed files with 92 additions and 11 deletions
+7
View File
@@ -59,4 +59,11 @@ export default {
params:data
})
},
// 获取字典值
getCode(data) {
return request({
url: '/api/sys/dictItem/'+data,
method: 'get',
})
}
}