currentUser
描述
可选。表示当前用户的 ID
注释
当前用户 ID 应当与 cardShape.users
属性中列出的某个 ID 匹配。如果未提供此 ID,评论将仅以只读模式访问。
用法
currentUser?: string | number;
示例
new kanban.Kanban("#root", {
cards,
columns,
currentUser: 1,
// 其他参数
});
更新日志: 此属性在版本 1.4 中引入