fix: 解决保存时候可能数据获取不完整的bug

This commit is contained in:
奔跑的面条
2023-09-13 10:43:11 +08:00
parent f348038ff7
commit 55c84f2e39
5 changed files with 50 additions and 50 deletions
@@ -32,7 +32,7 @@ const previewHandle = () => {
const { id } = routerParamsInfo.params
// id 标识
const previewId = typeof id === 'string' ? id : id[0]
const storageInfo = chartEditStore.getStorageInfo
const storageInfo = chartEditStore.getStorageInfo()
const sessionStorageInfo = getLocalStorage(StorageEnum.GO_CHART_STORAGE_LIST) || []
if (sessionStorageInfo?.length) {