refactor(projects): 代码优化

ISSUES CLOSED: \
This commit is contained in:
Soybean
2022-05-18 23:43:41 +08:00
parent 4b80a66114
commit 44ab55d594
8 changed files with 5 additions and 108 deletions

View File

@ -43,6 +43,7 @@ export const useRouteStore = defineStore('route-store', {
cacheRoutes: []
}),
actions: {
/** 重置路由的store */
resetRouteStore() {
this.resetRoutes();
this.$reset();