diff --git a/frontend/src/components/layout/LayoutDsl.vue b/frontend/src/components/layout/LayoutDsl.vue index 98facbae..0bb4da27 100644 --- a/frontend/src/components/layout/LayoutDsl.vue +++ b/frontend/src/components/layout/LayoutDsl.vue @@ -38,7 +38,7 @@ const showSysmenu = computed(() => { {{ collapse ? '' : '返回工作空间' }}
- + diff --git a/frontend/src/components/layout/Person.vue b/frontend/src/components/layout/Person.vue index b9e94ca3..352a23f9 100644 --- a/frontend/src/components/layout/Person.vue +++ b/frontend/src/components/layout/Person.vue @@ -19,14 +19,15 @@ const pwdFormRef = ref() const { t, locale } = useI18n() defineProps({ collapse: { type: [Boolean], required: true }, + inSysmenu: { type: [Boolean], required: true }, }) const name = computed(() => userStore.getName) const account = computed(() => userStore.getAccount) const currentLanguage = computed(() => userStore.getLanguage) const isAdmin = computed(() => userStore.getUid === '1') -const emit = defineEmits(['selectPerson']) const dialogVisible = ref(false) + const languageList = [ { name: 'English', @@ -88,7 +89,7 @@ const logout = () => {
{{ name }}
{{ account }}
-
+