feat(projects): 添加reload context

This commit is contained in:
Soybean
2021-09-18 22:16:31 +08:00
parent 99adbc5a30
commit 03ebd49c86
17 changed files with 354 additions and 228 deletions

View File

@ -122,10 +122,11 @@ const appStore = defineStore({
this.setActiveMultiTab(currentRoute.value.fullPath);
},
/** 重新加载页面 */
async handleReload() {
handleReload() {
this.reloadFlag = false;
await nextTick();
this.reloadFlag = true;
nextTick(() => {
this.reloadFlag = true;
});
},
/** 打开配置抽屉 */
openSettingDrawer() {