Improve sync
This commit is contained in:
parent
26f4c038f3
commit
aec5911821
9 changed files with 262 additions and 255 deletions
|
|
@ -60,9 +60,9 @@ export default function <T extends object>(data: {
|
|||
|
||||
save() {
|
||||
if (this.platform == 'deck') {
|
||||
this.$store.commit('device/updateDeckColumn', this.column);
|
||||
this.$store.commit('updateDeckColumn', this.column);
|
||||
} else {
|
||||
this.$store.commit('device/updateWidget', this.widget);
|
||||
this.$store.commit('updateWidget', this.widget);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue