mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复页面缓存
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
<nav-card :loading="loading" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onActivated } from 'vue';
|
||||
import { useLoading } from '@/hooks';
|
||||
|
@ -1,18 +0,0 @@
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
|
||||
const { query } = useRoute();
|
||||
const router = useRouter();
|
||||
|
||||
function init() {
|
||||
const redirect = (query.redirectUrl as string) || '/';
|
||||
router.replace(redirect);
|
||||
}
|
||||
|
||||
init();
|
||||
</script>
|
||||
<style scoped></style>
|
Reference in New Issue
Block a user