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