mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-02 11:48:36 +08:00
fix: 解决 getStorageInfo 调用错误的问题
This commit is contained in:
parent
601e1a2ea7
commit
656949f7b8
@ -322,7 +322,7 @@ export const useSync = () => {
|
|||||||
// 保存数据
|
// 保存数据
|
||||||
let params = new FormData()
|
let params = new FormData()
|
||||||
params.append('projectId', projectId)
|
params.append('projectId', projectId)
|
||||||
params.append('content', JSONStringify(chartEditStore.getStorageInfo || {}))
|
params.append('content', JSONStringify(chartEditStore.getStorageInfo() || {}))
|
||||||
const res= await saveProjectApi(params)
|
const res= await saveProjectApi(params)
|
||||||
|
|
||||||
if (res && res.code === ResultEnum.SUCCESS) {
|
if (res && res.code === ResultEnum.SUCCESS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user