From 4ed9a5b50ef41343a468a0854e09f83ce70a7982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E5=BB=BA=E6=96=B0?= <1170392673@qq.com> Date: Tue, 22 Jul 2025 02:09:21 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/views/chart/hooks/useSync.hook.ts.?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=97=B6=EF=BC=8CchartEditStore.getStorageIn?= =?UTF-8?q?fo=E6=9C=AA=E6=89=A7=E8=A1=8C=E8=B0=83=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E7=9A=84=E6=98=AF=E5=87=BD=E6=95=B0=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=EF=BC=8C=E5=AF=BC=E8=87=B4=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 叶建新 <1170392673@qq.com> --- 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) {