fix: 新增 const 约束

This commit is contained in:
MTrun 2022-02-09 20:30:10 +08:00
parent c8437fd3ea
commit 830d475215

View File

@ -45,7 +45,7 @@ export const useChartHistoryStoreStore = defineStore({
[HistoryStackItemEnum.HISTORY_DATA]: item,
[HistoryStackItemEnum.ACTION_TYPE]: actionType,
[HistoryStackItemEnum.TARGET_TYPE]: targetType
}))
} as const))
},
// * 画布初始化
canvasInit(canvas: EditCanvasType) {