From ebe182649264e1fceec5a0d231330c5e8abc5e8b Mon Sep 17 00:00:00 2001
From: xiaoxian521 <1923740402@qq.com>
Date: Fri, 6 Feb 2026 10:46:21 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=A0=87=E7=AD=BE?=
=?UTF-8?q?=E9=A1=B5=E6=93=8D=E4=BD=9C=E7=A4=BA=E4=BE=8B=E5=9C=A8=E5=88=87?=
=?UTF-8?q?=E6=8D=A2=E5=9B=BD=E9=99=85=E5=8C=96=E6=97=B6=E6=8A=A5=E9=94=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/tabs/index.vue | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
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() {