可信代码库-编程语言接口对接
This commit is contained in:
@@ -86,6 +86,15 @@ export const useGlobalInfoStore = defineStore('globalInfo', () => {
|
||||
const res = await basicDict({
|
||||
parentId: 184
|
||||
});
|
||||
if(res.data.code===200) {
|
||||
languageList.value = res.data.data.map(i=>{
|
||||
return {
|
||||
id: i.id,
|
||||
label: i.dictKey,
|
||||
value: i.dictValue
|
||||
}
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
const updateHeaderSearch = (data: any) => {
|
||||
@@ -148,6 +157,7 @@ export const useGlobalInfoStore = defineStore('globalInfo', () => {
|
||||
setGlobalTheme,
|
||||
updateHeaderSearch,
|
||||
industryList,
|
||||
setLanguageList
|
||||
setLanguageList,
|
||||
languageList
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user