This commit is contained in:
杨鹏
2025-10-15 19:19:00 +08:00
parent c3fd0c2e00
commit 3b38ce766e
2 changed files with 13 additions and 7 deletions
+4 -6
View File
@@ -89,14 +89,12 @@
const curStep = ref(0);
const jumpPage = () => {
if (curStep.value === 0) {
if (!isLogin) {
uni.redirectTo({ url: '/pages/login/index' });
} else if (curStep.value === 0) {
sheep.$router.go('/pages/index/index');
} else {
if (!isLogin) {
uni.redirectTo({ url: '/pages/login/index' });
} else {
sheep.$router.go('/pages/index/room');
}
sheep.$router.go('/pages/index/room');
}
};
</script>