refactor: refactor route

This commit is contained in:
vben
2020-12-03 21:49:32 +08:00
parent 7bfe5f753d
commit c303ec1a23
84 changed files with 1575 additions and 1532 deletions

View File

@@ -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>