20260819173221
This commit is contained in:
1 parent
1ffc8e1ac9
commit
a0a4273f4c
326 files changed
+301646
-2314
No files matched your search
@@ -1,7 +1,14 @@
|
||||
<script setup>
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
|
||||
// 业务应用入口:仅渲染当前路由页面
|
||||
// FPS 性能监控浮层仅开发环境挂载,生产构建不打包
|
||||
const FpsMonitor = import.meta.env.DEV
|
||||
? defineAsyncComponent(() => import('@/components/FpsMonitor.vue'))
|
||||
: null
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<router-view />
|
||||
<FpsMonitor v-if="FpsMonitor" />
|
||||
</template>
|
||||
Reference in new issue
Block a user