mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-12 00:00:01 +08:00
fix: 解决保存时候可能数据获取不完整的bug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user