enhance: PizzaxデータをindexedDBに保存するように (#9225)
* Revert "Revert #8098"
This reverts commit 8b9dc962ae
.
* fix
* use deepClone instead of deepclone
* defaultStore.loaded
* fix load
* wait ready
* use top-level await, await in device-kind.ts
This commit is contained in:
@@ -150,7 +150,7 @@ if (window.innerWidth > 1024) {
|
||||
}
|
||||
}
|
||||
|
||||
defaultStore.ready.then(() => {
|
||||
defaultStore.loaded.then(() => {
|
||||
if (defaultStore.state.widgets.length === 0) {
|
||||
defaultStore.set('widgets', [{
|
||||
name: 'calendar',
|
||||
|
Reference in New Issue
Block a user