优化仪表盘内容
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user