[Client] Fix bug
This commit is contained in:
parent
62132570e1
commit
e58a6593c0
|
@ -66,7 +66,7 @@ export default function<T extends object>(data: {
|
|||
|
||||
this.bakeProps();
|
||||
|
||||
(this as any).api('i/update_widget', {
|
||||
this.$root.api('i/update_widget', {
|
||||
id: this.id,
|
||||
data: this.props
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue