mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 23:46:13 +01:00
This commit is contained in:
parent
dc17dc5160
commit
a5363fa0b4
2 changed files with 5 additions and 5 deletions
|
|
@ -393,7 +393,7 @@ export const bindEditEvent = (options: {
|
|||
return;
|
||||
}
|
||||
colData.options.push({
|
||||
color: (colData.options.length + 1).toString(),
|
||||
color: ((colData.options.length || 0) % 14 + 1).toString(),
|
||||
name: addOptionElement.value
|
||||
});
|
||||
transaction(options.protyle, [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue