fix: 修改header层级

This commit is contained in:
MTrun 2022-04-10 19:05:14 +08:00
parent 10a21c9f6b
commit 533af6b2f9
7 changed files with 9 additions and 19 deletions

View File

@ -35,7 +35,7 @@
import { toRefs, Ref, reactive, computed } from 'vue' import { toRefs, Ref, reactive, computed } from 'vue'
import { renderIcon, goDialog, goHome } from '@/utils' import { renderIcon, goDialog, goHome } from '@/utils'
import { icon } from '@/plugins' import { icon } from '@/plugins'
import { useRemoveKeyboard } from '../hooks/useKeyboard.hook' import { useRemoveKeyboard } from '../../hooks/useKeyboard.hook'
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore' import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'

View File

@ -47,22 +47,12 @@ const chartEditStore = useChartEditStore()
// //
chartHistoryStoreStore.canvasInit(chartEditStore.getEditCanvas) chartHistoryStoreStore.canvasInit(chartEditStore.getEditCanvas)
const HeaderLeftBtn = loadAsyncComponent(() => const HeaderLeftBtn = loadAsyncComponent(() => import('./contentHeader/headerLeftBtn/index.vue'))
import('./headerLeftBtn/index.vue') const HeaderRightBtn = loadAsyncComponent(() => import('./contentHeader/headerRightBtn/index.vue'))
) const HeaderTitle = loadAsyncComponent(() => import('./contentHeader/headerTitle/index.vue'))
const HeaderRightBtn = loadAsyncComponent(() => const ContentLayers = loadAsyncComponent(() => import('./contentLayers/index.vue'))
import('./headerRightBtn/index.vue') const ContentCharts = loadAsyncComponent(() => import('./contentCharts/index.vue'))
) const ContentConfigurations = loadAsyncComponent(() => import('./contentConfigurations/index.vue'))
const HeaderTitle = loadAsyncComponent(() => import('./headerTitle/index.vue'))
const ContentLayers = loadAsyncComponent(() =>
import('./contentLayers/index.vue')
)
const ContentCharts = loadAsyncComponent(() =>
import('./contentCharts/index.vue')
)
const ContentConfigurations = loadAsyncComponent(() =>
import('./contentConfigurations/index.vue')
)
// //
const { const {
@ -74,10 +64,10 @@ const {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@include go('chart') { @include go("chart") {
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
overflow: hidden; overflow: hidden;
@include background-image('background-image'); @include background-image("background-image");
} }
</style> </style>