可信代码库-编程语言接口对接

This commit is contained in:
付民康
2025-06-13 18:01:31 +08:00
parent b3c1e9f159
commit 0cd5d14245
5 changed files with 21 additions and 12 deletions

View File

@@ -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
};
});