代码提示优化
This commit is contained in:
@@ -11,7 +11,7 @@ export const useDictData = defineStore(
|
||||
area: []
|
||||
// 其他接口获取的字典,比如区域
|
||||
})
|
||||
const getBasicData = (code: string, arr: string) => {
|
||||
const getBasicData = (code: string, arr?: string) => {
|
||||
let list = []
|
||||
list = state.basic.filter(item => item.code === code)[0]?.children || []
|
||||
if (arr) {
|
||||
|
||||
Reference in New Issue
Block a user