Parcourir la source

fix: 修改组件名称大写的问题

MTrun il y a 3 ans
Parent
commit
5b5f59da91

+ 1 - 1
src/views/chart/ContentCharts/index.vue

@@ -43,7 +43,7 @@
 </template>
 
 <script setup lang="ts">
-import { ContentBox } from '../ContentBox/index'
+import { ContentBox } from '../contentBox/index'
 import { OptionContent } from './components/OptionContent'
 import {
   getCharts,

+ 1 - 1
src/views/chart/ContentConfigurations/index.vue

@@ -95,7 +95,7 @@ const {
   LeafIcon
 } = icon.ionicons5
 
-const ContentEdit = loadAsyncComponent(() => import('../ContentEdit/index.vue'))
+const ContentEdit = loadAsyncComponent(() => import('../contentEdit/index.vue'))
 const CanvasPage = loadAsyncComponent(() =>
   import('./components/CanvasPage/index.vue')
 )

+ 1 - 1
src/views/chart/ContentEdit/index.vue

@@ -46,7 +46,7 @@
 
 <script lang="ts" setup>
 import { ref, onMounted, computed } from 'vue'
-import { ContentBox } from '../ContentBox/index'
+import { ContentBox } from '../contentBox/index'
 import { EditRange } from './components/EditRange'
 import { EditBottom } from './components/EditBottom'
 import { EditShapeBox } from './components/EditShapeBox/index'

+ 1 - 1
src/views/chart/ContentLayers/index.vue

@@ -27,7 +27,7 @@
 
 <script setup lang="ts">
 import { computed } from 'vue'
-import { ContentBox } from '../ContentBox/index'
+import { ContentBox } from '../contentBox/index'
 import { useChartLayoutStore } from '@/store/modules/chartLayoutStore/chartLayoutStore'
 import { ChartLayoutStoreEnum } from '@/store/modules/chartLayoutStore/chartLayoutStore.d'
 import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'

+ 1 - 1
src/views/chart/hooks/useContextMenu.hook.ts

@@ -170,7 +170,7 @@ export const useContextMenu = (menuConfig?: {
     })
   }
   return {
-    // todo 每次都重新计算的功能
+    // todo 每次右键都执行判断功能
     // menuOptions: clearHideOption ? clearHideOption(menuOptions, hideOptionsList) : menuOptions,
     menuOptions: menuOptions,
     handleContextMenu,

+ 6 - 6
src/views/chart/index.vue

@@ -48,20 +48,20 @@ const chartEditStore = useChartEditStore()
 chartHistoryStoreStore.canvasInit(chartEditStore.getEditCanvas)
 
 const HeaderLeftBtn = loadAsyncComponent(() =>
-  import('./HeaderLeftBtn/index.vue')
+  import('./headerLeftBtn/index.vue')
 )
 const HeaderRightBtn = loadAsyncComponent(() =>
-  import('./HeaderRightBtn/index.vue')
+  import('./headerRightBtn/index.vue')
 )
-const HeaderTitle = loadAsyncComponent(() => import('./HeaderTitle/index.vue'))
+const HeaderTitle = loadAsyncComponent(() => import('./headerTitle/index.vue'))
 const ContentLayers = loadAsyncComponent(() =>
-  import('./ContentLayers/index.vue')
+  import('./contentLayers/index.vue')
 )
 const ContentCharts = loadAsyncComponent(() =>
-  import('./ContentCharts/index.vue')
+  import('./contentCharts/index.vue')
 )
 const ContentConfigurations = loadAsyncComponent(() =>
-  import('./ContentConfigurations/index.vue')
+  import('./contentConfigurations/index.vue')
 )
 
 // 右键