Skip to content

Commit

Permalink
fix: catch hiddenInitLoading
Browse files Browse the repository at this point in the history
  • Loading branch information
lb1129 committed Jul 28, 2023
1 parent 3b55fa8 commit c50a673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ onBeforeMount(async () => {
// 将pinia内菜单数据获取状态设置为完成
menuDataStore.setMenuDataDone(true)
} catch (error) {
hiddenInitLoading.value = true
// 将pinia内菜单数据获取状态设置为完成
menuDataStore.setMenuDataDone(true)
}
Expand Down

0 comments on commit c50a673

Please sign in to comment.