perf: aotu imports

This commit is contained in:
xingyu
2023-01-18 12:14:58 +08:00
parent e2c7ea8a74
commit 85c4d1fb03
107 changed files with 50 additions and 265 deletions

View File

@@ -2,9 +2,6 @@
<div></div>
</template>
<script setup lang="ts" name="Redirect">
import { unref } from 'vue'
import { useRouter } from 'vue-router'
const { currentRoute, replace } = useRouter()
const { params, query } = unref(currentRoute)
const { path, _redirect_type = 'path' } = params