add signup

This commit is contained in:
张 元山 2024-09-25 16:39:39 +08:00
parent 99da79e1cf
commit 5ed8e63aab
2 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 MiB

After

Width:  |  Height:  |  Size: 576 KiB

View File

@ -3,11 +3,11 @@ import { useRouter } from 'vue-router';
import storage from '@/utils/storage.js';
import { ref, onBeforeMount } from "vue";
onBeforeMount(() => {
storage.setItem('top-title', '登录')
router.push('/title-forward/logon')
})
const router = useRouter();
const goRouter = () => {
storage.setItem('top-title', '登录')
router.push('/title-forward/logon')
}
</script>
@ -15,7 +15,7 @@ const goRouter = () => {
<div class="container">
<div class="content1"
@click="goRouter">
报名
立即报名
</div>
</div>
</template>