Skip to content

Commit

Permalink
feat: 禁止自动保存
Browse files Browse the repository at this point in the history
  • Loading branch information
haixin-fang committed Oct 15, 2023
1 parent e24c985 commit 49d7289
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions packages/editor/src/components/NavList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -182,9 +182,9 @@
};
const setTimeSave = () => {
timer = setInterval(() => {
handleFormSave("auto");
}, 20000);
// timer = setInterval(() => {
// handleFormSave("auto");
// }, 20000);
};
const handleImportJson = () => {
Expand Down

0 comments on commit 49d7289

Please sign in to comment.