fix: 修复在编辑项目之前加载数据异常,自动保存导致项目数据清空问题。

This commit is contained in:
秋名山路霸
2022-09-18 11:56:26 +08:00
parent bcec26374f
commit e0d2e8031d
3 changed files with 21 additions and 5 deletions
@@ -15,7 +15,7 @@ import { HistoryActionTypeEnum, HistoryItemType, HistoryTargetTypeEnum } from '@
// 画布枚举
import { MenuEnum, SyncEnum } from '@/enums/editPageEnum'
import {
import {
getUUID,
loadingStart,
loadingFinish,
@@ -46,6 +46,7 @@ export const useChartEditStore = defineStore({
state: (): ChartEditStoreType => ({
// 项目数据
projectInfo: {
projectId: '',
projectName: '',
remarks: '',
thumbnail: '',