feat: 国际化切换判断权限去隐藏控件

This commit is contained in:
TsMask
2023-12-11 20:14:40 +08:00
parent fe5905ee35
commit 0d736966dd
3 changed files with 9 additions and 5 deletions

View File

@@ -124,6 +124,7 @@ onMounted(() => {
v-model:value="state.language"
style="width: 100px"
size="small"
v-perms:has="['system:setting:i18n']"
>
<a-select-option
v-for="opt in optionsLocale"
@@ -169,6 +170,7 @@ onMounted(() => {
v-model:value="state.language"
style="width: 100px"
size="small"
v-perms:has="['system:setting:i18n']"
>
<a-select-option
v-for="opt in optionsLocale"