.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user