mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-06 03:58:03 +08:00
style: 优化路由跳转
This commit is contained in:
parent
43786d6672
commit
f7a5f350f7
@ -7,7 +7,6 @@
|
||||
const redirect = ref<string | undefined>(undefined);
|
||||
onLoad((query) => {
|
||||
redirect.value = query.redirect ? decodeURIComponent(query.redirect) : undefined;
|
||||
console.log('login redirect', redirect.value);
|
||||
});
|
||||
|
||||
const router = useRouter();
|
||||
|
Loading…
x
Reference in New Issue
Block a user