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

This commit is contained in:
奔跑的面条
2023-09-13 10:43:11 +08:00
parent b4e018ee96
commit 52f74d7b91
5 changed files with 50 additions and 50 deletions
@@ -158,7 +158,7 @@ const editHandle = () => {
// 把内存中的数据同步到SessionStorage 便于传递给新窗口初始化数据
const updateToSession = (id: string) => {
const storageInfo = chartEditStore.getStorageInfo
const storageInfo = chartEditStore.getStorageInfo()
const sessionStorageInfo = getLocalStorage(StorageEnum.GO_CHART_STORAGE_LIST) || []
if (sessionStorageInfo?.length) {