初始化

This commit is contained in:
hezhidong
2024-11-05 17:43:01 +08:00
parent 2a10e37c10
commit 4e1140419a
97 changed files with 8700 additions and 89 deletions
+14
View File
@@ -0,0 +1,14 @@
<template>
<div>
登录
<button @click="onClcikGo">注册</button>
</div>
</template>
<script setup>
import { useRouter } from 'vue-router';
const router = useRouter()
console.log(router)
const onClcikGo = () =>{
router.push('/register')
}
</script>