feat: 新增复制粘贴功能

This commit is contained in:
MTrun
2022-02-03 22:54:31 +08:00
parent 0cda041315
commit ad8cc8a003
22 changed files with 519 additions and 129 deletions
+9 -3
View File
@@ -39,6 +39,14 @@ import { loadAsyncComponent } from '@/utils'
import { HeaderPro } from '@/layout/components/HeaderPro'
import { useContextMenu } from './hooks/useContextMenu.hook'
import { useChartEditStoreStore } from '@/store/modules/chartEditStore/chartEditStore'
import { useChartLayoutStore } from '@/store/modules/chartLayoutStore/chartLayoutStore'
import { useChartHistoryStoreStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
const chartLayoutStore = useChartLayoutStore()
const chartHistoryStoreStore = useChartHistoryStoreStore()
// 记录初始化
chartHistoryStoreStore.canvasInit(chartLayoutStore)
const chartEditStore = useChartEditStoreStore()
const HeaderLeftBtn = loadAsyncComponent(() =>
@@ -47,9 +55,7 @@ const HeaderLeftBtn = loadAsyncComponent(() =>
const HeaderRightBtn = loadAsyncComponent(() =>
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')
)