diff --git a/src/main.ts b/src/main.ts index 3b4582c..4c9ce83 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,7 +2,7 @@ import { createApp } from 'vue'; import pinia from '@/stores'; import '@/styles/index.scss'; - +import 'uno.css' // element plus import ElementPlus from 'element-plus'; // element css diff --git a/src/views/faceinfo/FaceInfo/index.vue b/src/views/faceinfo/FaceInfo/index.vue index 2484710..8eb8930 100644 --- a/src/views/faceinfo/FaceInfo/index.vue +++ b/src/views/faceinfo/FaceInfo/index.vue @@ -124,7 +124,11 @@ - + diff --git a/src/views/teacher/teacherStatistics/components/menu/index.vue b/src/views/teacher/teacherStatistics/components/menu/index.vue index 99300fc..17f05f2 100644 --- a/src/views/teacher/teacherStatistics/components/menu/index.vue +++ b/src/views/teacher/teacherStatistics/components/menu/index.vue @@ -5,13 +5,12 @@ diff --git a/src/views/teacher/teacherStatistics/components/menu/menuDoCreateMenu.vue b/src/views/teacher/teacherStatistics/components/menu/menuDoCreateMenu.vue index e9c3431..758a5f7 100644 --- a/src/views/teacher/teacherStatistics/components/menu/menuDoCreateMenu.vue +++ b/src/views/teacher/teacherStatistics/components/menu/menuDoCreateMenu.vue @@ -97,8 +97,6 @@ export default { diff --git a/src/views/teacher/teacherStatistics/components/menu/menuIndex.vue b/src/views/teacher/teacherStatistics/components/menu/menuIndex.vue index e401b29..b878513 100644 --- a/src/views/teacher/teacherStatistics/components/menu/menuIndex.vue +++ b/src/views/teacher/teacherStatistics/components/menu/menuIndex.vue @@ -6,8 +6,7 @@ diff --git a/src/views/teacher/teacherStatistics/components/mt-edit/components/layout/header-panel/index.vue b/src/views/teacher/teacherStatistics/components/mt-edit/components/layout/header-panel/index.vue index eaaf939..24ab1a4 100644 --- a/src/views/teacher/teacherStatistics/components/mt-edit/components/layout/header-panel/index.vue +++ b/src/views/teacher/teacherStatistics/components/mt-edit/components/layout/header-panel/index.vue @@ -7,7 +7,6 @@ size="small" @click="emits('update:leftAside', !headerPanelProps.leftAside)" > - @@ -17,7 +16,7 @@ -
+
- + 图片模型 @@ -104,23 +99,12 @@ - - 模型文件 - - - - - - - - - - -
-
- - -
- - - - - - - - - -
-
- - diff --git a/src/views/teacher/teacherStatistics/components/three-components/vue-three-fire-control.vue b/src/views/teacher/teacherStatistics/components/three-components/vue-three-fire-control.vue deleted file mode 100644 index b7ceb09..0000000 --- a/src/views/teacher/teacherStatistics/components/three-components/vue-three-fire-control.vue +++ /dev/null @@ -1,140 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/three-components/vue-three-substation.vue b/src/views/teacher/teacherStatistics/components/three-components/vue-three-substation.vue deleted file mode 100644 index 0452c79..0000000 --- a/src/views/teacher/teacherStatistics/components/three-components/vue-three-substation.vue +++ /dev/null @@ -1,223 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/three-components/vue-three-substation_edit.vue b/src/views/teacher/teacherStatistics/components/three-components/vue-three-substation_edit.vue deleted file mode 100644 index fe92559..0000000 --- a/src/views/teacher/teacherStatistics/components/three-components/vue-three-substation_edit.vue +++ /dev/null @@ -1,341 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/vue-components/echarts-bar-chart.vue b/src/views/teacher/teacherStatistics/components/vue-components/echarts-bar-chart.vue deleted file mode 100644 index 1f152cf..0000000 --- a/src/views/teacher/teacherStatistics/components/vue-components/echarts-bar-chart.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/vue-components/echarts-grade-gauge.vue b/src/views/teacher/teacherStatistics/components/vue-components/echarts-grade-gauge.vue deleted file mode 100644 index 538d95f..0000000 --- a/src/views/teacher/teacherStatistics/components/vue-components/echarts-grade-gauge.vue +++ /dev/null @@ -1,406 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/vue-components/echarts-line-chart.vue b/src/views/teacher/teacherStatistics/components/vue-components/echarts-line-chart.vue deleted file mode 100644 index f863d64..0000000 --- a/src/views/teacher/teacherStatistics/components/vue-components/echarts-line-chart.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/vue-components/echarts-pie-chart.vue b/src/views/teacher/teacherStatistics/components/vue-components/echarts-pie-chart.vue deleted file mode 100644 index 57b84b4..0000000 --- a/src/views/teacher/teacherStatistics/components/vue-components/echarts-pie-chart.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/vue-components/vue-img-immobilization.vue b/src/views/teacher/teacherStatistics/components/vue-components/vue-img-immobilization.vue deleted file mode 100644 index 7592773..0000000 --- a/src/views/teacher/teacherStatistics/components/vue-components/vue-img-immobilization.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - - - diff --git a/src/views/teacher/teacherStatistics/components/vue-components/vue-signal-monitoring.vue b/src/views/teacher/teacherStatistics/components/vue-components/vue-signal-monitoring.vue deleted file mode 100644 index 43c836a..0000000 --- a/src/views/teacher/teacherStatistics/components/vue-components/vue-signal-monitoring.vue +++ /dev/null @@ -1,303 +0,0 @@ - - - - - diff --git a/vite.config.mts b/vite.config.mts index 74ccdff..df91bfd 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -22,6 +22,14 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { root, plugins: [ vue(), + // 只在库模式下生成声明文件 + ...(mode === 'lib' || mode === 'npm' + ? [ + dts({ + tsconfigPath: 'tsconfig.app.json' + }) + ] + : []), vueJsx(), vueDevTools(), // 使用 svg 图标