fix: 修改header层级

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

View File

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

View File

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