fix bug
This commit is contained in:
parent
0fc8445425
commit
98249942d5
2 changed files with 4 additions and 4 deletions
|
@ -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>;
|
||||
}[]
|
||||
},
|
||||
|
|
|
@ -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: {}
|
||||
}]);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue