From 656949f7b8b2cdddc1a3012ae0b19a3a9af4abea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Mon, 18 Sep 2023 21:14:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20getStorageInfo=20?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/chart/hooks/useSync.hook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/chart/hooks/useSync.hook.ts b/src/views/chart/hooks/useSync.hook.ts index a11c3049..0542274f 100644 --- a/src/views/chart/hooks/useSync.hook.ts +++ b/src/views/chart/hooks/useSync.hook.ts @@ -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) {