style: 优化路由跳转

This commit is contained in:
Huang 2022-09-19 16:11:31 +08:00
parent 43786d6672
commit f7a5f350f7

View File

@ -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();