diff --git a/src/views/tabs/index.vue b/src/views/tabs/index.vue
index efc62b4d2..408a35bf6 100644
--- a/src/views/tabs/index.vue
+++ b/src/views/tabs/index.vue
@@ -4,6 +4,7 @@ import {
getNodeByUniqueId,
appendFieldByUniqueId
} from "@/utils/tree";
+import { useI18n } from "vue-i18n";
import { useDetail } from "./hooks";
import { ref, computed } from "vue";
import { clone } from "@pureadmin/utils";
@@ -15,6 +16,7 @@ defineOptions({
name: "Tabs"
});
+const { locale } = useI18n();
const { toDetail, router } = useDetail();
const menusTree = clone(usePermissionStoreHook().wholeMenus, true);
@@ -30,6 +32,12 @@ const multiTags = computed(() => {
return useMultiTagsStoreHook()?.multiTags;
});
+const treeSelectProps = {
+ label: (data: any) => transformI18n(data.meta.title),
+ children: "children",
+ disabled: "disabled"
+};
+
function onCloseTags() {
if (currentValues.value.length === 0) return;
currentValues.value.forEach(uniqueId => {
@@ -92,6 +100,7 @@ function onCloseTags() {