This commit is contained in:
syuilo 2021-07-25 13:07:08 +09:00
parent 23a9668ad7
commit 9c59d57d7a
2 changed files with 4 additions and 4 deletions

View file

@ -90,7 +90,7 @@ export const defaultStore = markRaw(new Storage('base', {
default: [] as {
name: string;
id: string;
place: string;
place: string | null;
data: Record<string, any>;
}[]
},

View file

@ -115,13 +115,13 @@ export default defineComponent({
if (this.$store.state.widgets.length === 0) {
this.$store.set('widgets', [{
name: 'calendar',
id: 'a', place: 'right', data: {}
id: 'a', place: null, data: {}
}, {
name: 'notifications',
id: 'b', place: 'right', data: {}
id: 'b', place: null, data: {}
}, {
name: 'trends',
id: 'c', place: 'right', data: {}
id: 'c', place: null, data: {}
}]);
}
},