feat: 新增导入导出功能😍

This commit is contained in:
MTrun
2022-04-10 17:56:51 +08:00
parent c7a9c24871
commit d1bb15b883
9 changed files with 185 additions and 42 deletions
@@ -5,7 +5,6 @@ import debounce from 'lodash/debounce'
import cloneDeep from 'lodash/cloneDeep'
import { defaultTheme, globalThemeJson } from '@/settings/chartThemes/index'
import { requestInterval } from '@/settings/designSetting'
import { chartMoveDistance } from '@/settings/systemSetting'
// 记录记录
import { useChartHistoryStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
// 全局设置
@@ -63,6 +62,7 @@ export const useChartEditStore = defineStore({
},
// 记录临时数据(复制等)
recordChart: undefined,
// -----------------------
// 画布属性(需存储给后端)
editCanvasConfig: {
// 默认宽度