diff --git a/package.json b/package.json
index 2adfc3b7..ac73b758 100644
--- a/package.json
+++ b/package.json
@@ -34,8 +34,8 @@
"@antv/data-set": "^0.11.8",
"@antv/g2": "^4.2.5",
"@better-scroll/core": "^2.4.2",
- "@soybeanjs/vue-admin-layout": "^1.0.4",
- "@soybeanjs/vue-admin-tab": "^1.0.2",
+ "@soybeanjs/vue-admin-layout": "^1.0.6",
+ "@soybeanjs/vue-admin-tab": "^1.0.3",
"@vueuse/core": "^8.9.1",
"axios": "^0.27.2",
"clipboard": "^2.0.11",
diff --git a/src/components/business/LoadingEmptyWrapper.vue b/src/components/business/LoadingEmptyWrapper.vue
index 7e15b0b4..b15d332f 100644
--- a/src/components/business/LoadingEmptyWrapper.vue
+++ b/src/components/business/LoadingEmptyWrapper.vue
@@ -26,6 +26,8 @@ import { computed, watch, nextTick, onUnmounted } from 'vue';
import { NETWORK_ERROR_MSG } from '@/config';
import { useBoolean } from '@/hooks';
+defineOptions({ name: 'LoadingEmptyWrapper' });
+
interface Props {
/** 是否加载 */
loading: boolean;
diff --git a/src/components/business/LoginAgreement.vue b/src/components/business/LoginAgreement.vue
index e7b51dba..60408ee5 100644
--- a/src/components/business/LoginAgreement.vue
+++ b/src/components/business/LoginAgreement.vue
@@ -9,11 +9,17 @@
diff --git a/src/layouts/common/GlobalBackTop/index.vue b/src/layouts/common/GlobalBackTop/index.vue
index a2373ecc..84d82d97 100644
--- a/src/layouts/common/GlobalBackTop/index.vue
+++ b/src/layouts/common/GlobalBackTop/index.vue
@@ -6,6 +6,8 @@
import { computed } from 'vue';
import { useWindowScroll } from '@vueuse/core';
+defineOptions({ name: 'GlobalBackTop' });
+
const { y: scrollY } = useWindowScroll();
const show = computed(() => scrollY.value > 180);
diff --git a/src/layouts/common/GlobalContent/index.vue b/src/layouts/common/GlobalContent/index.vue
index e7b99016..d2cfba66 100644
--- a/src/layouts/common/GlobalContent/index.vue
+++ b/src/layouts/common/GlobalContent/index.vue
@@ -22,20 +22,22 @@
+
diff --git a/src/layouts/common/GlobalHeader/components/FullScreen.vue b/src/layouts/common/GlobalHeader/components/FullScreen.vue
index 451425e7..42b32d49 100644
--- a/src/layouts/common/GlobalHeader/components/FullScreen.vue
+++ b/src/layouts/common/GlobalHeader/components/FullScreen.vue
@@ -9,6 +9,8 @@
import { useFullscreen } from '@vueuse/core';
import { useThemeStore } from '@/store';
+defineOptions({ name: 'FullScreen' });
+
const { isFullscreen, toggle } = useFullscreen();
const theme = useThemeStore();
diff --git a/src/layouts/common/GlobalHeader/components/GithubSite.vue b/src/layouts/common/GlobalHeader/components/GithubSite.vue
index a8ddeb13..c7c64433 100644
--- a/src/layouts/common/GlobalHeader/components/GithubSite.vue
+++ b/src/layouts/common/GlobalHeader/components/GithubSite.vue
@@ -12,6 +12,8 @@
diff --git a/src/layouts/common/GlobalHeader/components/MessageList.vue b/src/layouts/common/GlobalHeader/components/MessageList.vue
index 11a2e31a..c4ed8647 100644
--- a/src/layouts/common/GlobalHeader/components/MessageList.vue
+++ b/src/layouts/common/GlobalHeader/components/MessageList.vue
@@ -38,18 +38,20 @@
diff --git a/src/layouts/common/GlobalHeader/components/SystemMessage.vue b/src/layouts/common/GlobalHeader/components/SystemMessage.vue
index c304b24e..30791824 100644
--- a/src/layouts/common/GlobalHeader/components/SystemMessage.vue
+++ b/src/layouts/common/GlobalHeader/components/SystemMessage.vue
@@ -48,9 +48,13 @@ import { useThemeStore } from '@/store';
import { useBoolean } from '@/hooks';
import MessageList from './MessageList.vue';
+defineOptions({ name: 'SystemMessage' });
+
const theme = useThemeStore();
const { bool: loading, setBool: setLoading } = useBoolean();
+
const currentTab = ref(0);
+
const tabData = ref([
{
key: 1,
diff --git a/src/layouts/common/GlobalHeader/components/ThemeMode.vue b/src/layouts/common/GlobalHeader/components/ThemeMode.vue
index 3f38ee8f..53bb32f2 100644
--- a/src/layouts/common/GlobalHeader/components/ThemeMode.vue
+++ b/src/layouts/common/GlobalHeader/components/ThemeMode.vue
@@ -7,6 +7,8 @@
diff --git a/src/layouts/common/GlobalHeader/components/UserAvatar.vue b/src/layouts/common/GlobalHeader/components/UserAvatar.vue
index 86790f7b..f995c130 100644
--- a/src/layouts/common/GlobalHeader/components/UserAvatar.vue
+++ b/src/layouts/common/GlobalHeader/components/UserAvatar.vue
@@ -8,15 +8,16 @@
+
diff --git a/src/views/dashboard/analysis/components/BottomPart/index.vue b/src/views/dashboard/analysis/components/BottomPart/index.vue
index a207883f..8b8ad90c 100644
--- a/src/views/dashboard/analysis/components/BottomPart/index.vue
+++ b/src/views/dashboard/analysis/components/BottomPart/index.vue
@@ -23,6 +23,8 @@
import { h } from 'vue';
import { NTag } from 'naive-ui';
+defineOptions({ name: 'DashboardAnalysisBottomPart' });
+
interface TimelineData {
type: 'default' | 'info' | 'success' | 'warning' | 'error';
title: string;
diff --git a/src/views/dashboard/analysis/components/DataCard/index.vue b/src/views/dashboard/analysis/components/DataCard/index.vue
index b8db414a..ad2656fa 100644
--- a/src/views/dashboard/analysis/components/DataCard/index.vue
+++ b/src/views/dashboard/analysis/components/DataCard/index.vue
@@ -21,6 +21,8 @@
import { Icon } from '@iconify/vue';
import { GradientBg } from './components';
+defineOptions({ name: 'DashboardAnalysisDataCard' });
+
interface CardData {
id: string;
title: string;
diff --git a/src/views/dashboard/analysis/components/TopChart/index.vue b/src/views/dashboard/analysis/components/TopChart/index.vue
index efb630f8..9bd613c8 100644
--- a/src/views/dashboard/analysis/components/TopChart/index.vue
+++ b/src/views/dashboard/analysis/components/TopChart/index.vue
@@ -34,6 +34,8 @@
import { ref } from 'vue';
import { useEcharts, type ECOption } from '@/composables';
+defineOptions({ name: 'DashboardAnalysisTopCard' });
+
const lineOptions = ref({
tooltip: {
trigger: 'axis',
diff --git a/src/views/dashboard/workbench/components/WorkbenchHeader/index.vue b/src/views/dashboard/workbench/components/WorkbenchHeader/index.vue
index df1382d9..836ce079 100644
--- a/src/views/dashboard/workbench/components/WorkbenchHeader/index.vue
+++ b/src/views/dashboard/workbench/components/WorkbenchHeader/index.vue
@@ -18,14 +18,16 @@