跳至主要内容

editorAutoSave

危险

从版本 1.3 开始,editorAutoSave 属性已被弃用。请使用 editor 属性来控制"自动保存"模式。

描述

可选。开启或关闭自动保存模式

信息

此设置允许您在看板编辑器中启用或禁用自动保存。当 editorAutoSave 属性设置为 false 时,编辑器将显示"保存"按钮以手动保存更改。

用法

editorAutoSave?: boolean; // 默认为 true

默认配置

editorAutoSave: true

示例

new kanban.Kanban("#root", {
columns,
cards,
editorAutoSave: false, // 禁用自动保存
// 其他参数
});