fix: 解决 getStorageInfo 调用错误的问题

This commit is contained in:
奔跑的面条 2023-09-18 21:14:27 +08:00
parent 601e1a2ea7
commit 656949f7b8

View File

@ -322,7 +322,7 @@ export const useSync = () => {
// 保存数据
let params = new FormData()
params.append('projectId', projectId)
params.append('content', JSONStringify(chartEditStore.getStorageInfo || {}))
params.append('content', JSONStringify(chartEditStore.getStorageInfo() || {}))
const res= await saveProjectApi(params)
if (res && res.code === ResultEnum.SUCCESS) {