feat:搭建基本框架
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
<template>
|
||||
<div>
|
||||
登录
|
||||
<el-button type="primary" @click="loginClick">登录</el-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
const loginClick = () => {
|
||||
router.push('/record')
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user