1)template模板内容,给button按钮绑定一个click
<el-button class="btn—confirm" type="primary" @click="handleSearch()">
登录
</el-button>
2)在此组件的script中引入userouter
import {
useRouter }
1)template模板内容,给button按钮绑定一个click
<el-button class="btn—confirm" type="primary" @click="handleSearch()">
登录
</el-button>
2)在此组件的script中引入userouter
import {
useRouter }