优化仪表盘内容

This commit is contained in:
2026-01-23 09:33:28 +08:00
parent 1963ea7244
commit 8283555457
6 changed files with 817 additions and 350 deletions
+3 -3
View File
@@ -6,8 +6,8 @@
</template>
<script setup>
import { ref, onMounted, computed } from 'vue'
import { defineAsyncComponent } from 'vue'
import { ref, onMounted, computed, defineAsyncComponent } from 'vue'
import config from '@/config'
// 定义组件名称
defineOptions({
@@ -15,7 +15,7 @@ defineOptions({
})
const loading = ref(true)
const dashboard = ref(import.meta.env.VITE_APP_DASHBOARD || 'work')
const dashboard = ref(config.DASHBOARD_LAYOUT || 'work')
// 动态导入组件
const components = {