mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
refactor: refactor route
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
<template>
|
||||
<div />
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent, unref } from 'vue';
|
||||
|
||||
@@ -18,12 +21,13 @@
|
||||
path: '/' + _path,
|
||||
query,
|
||||
});
|
||||
// close loading
|
||||
if (unref(getEnableTransition) && unref(getOpenPageLoading)) {
|
||||
setTimeout(() => {
|
||||
appStore.setPageLoadingAction(false);
|
||||
}, 0);
|
||||
}
|
||||
return () => null;
|
||||
return {};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user