Ehance update change set

This commit is contained in:
wqy
2022-09-07 20:53:55 +08:00
parent bca5f61fff
commit fb28c3c610
3 changed files with 7 additions and 7 deletions

View File

@@ -20,5 +20,5 @@ def set_title(name: str, value: str) -> ChangeSet:
add_operation(name, redo, undo)
change = ChangeSet()
change.update('title', 'null', 'value')
change.update('title', 'null', 'value', 'str', value)
return change