This commit is contained in:
syuilo 2018-02-22 01:08:49 +09:00
parent 24142cd5c6
commit a77ac7e651
11 changed files with 47 additions and 22 deletions

View file

@ -147,7 +147,8 @@ export default Vue.extend({
this.$emit('loaded');
},
onWidgetContextmenu(widgetId) {
(this.$refs[widgetId] as any)[0].func();
const w = (this.$refs[widgetId] as any)[0];
if (w.func) w.func();
},
onWidgetSort() {
this.saveHome();