From 49d72893cbda6aa74d6580714d6bb1e15e148612 Mon Sep 17 00:00:00 2001 From: haixin <1875934025@qq.com> Date: Sun, 15 Oct 2023 09:34:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A6=81=E6=AD=A2=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/package.json | 2 +- packages/editor/src/components/NavList.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/editor/package.json b/packages/editor/package.json index 131896c..29f1a1e 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "starfish-editor", - "version": "1.0.15", + "version": "1.0.16", "publish": false, "main": "dist/starfish-editor.umd.js", "style": "dist/style.css", diff --git a/packages/editor/src/components/NavList.vue b/packages/editor/src/components/NavList.vue index 02ccb9e..c7beabf 100644 --- a/packages/editor/src/components/NavList.vue +++ b/packages/editor/src/components/NavList.vue @@ -168,7 +168,7 @@ } } const dialog = ref(false); - let timer: unknown = null; + const timer: unknown = null; const filterNode = (value: string, data: Tree) => { if (!value) return true; return data.label.includes(value); @@ -182,9 +182,9 @@ }; const setTimeSave = () => { - timer = setInterval(() => { - handleFormSave("auto"); - }, 20000); + // timer = setInterval(() => { + // handleFormSave("auto"); + // }, 20000); }; const handleImportJson = () => {