diff --git a/src/views/components/datetime-picker.vue b/src/views/components/datetime-picker.vue
index 50c783f44..9d4a7a339 100644
--- a/src/views/components/datetime-picker.vue
+++ b/src/views/components/datetime-picker.vue
@@ -68,7 +68,7 @@ const shortcuts1 = [
const value3 = ref("");
const datePickerRef = ref();
-const placement = ref("auto");
+const placement = ref("auto") as any;
const checkTag = ref([
{
title: "auto", // https://popper.js.org/docs/v2/constructors/#options
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() {