add loading prompt

pull/4268/head
asdfo123 2024-11-04 22:27:00 +08:00
parent 9f0c46efc6
commit ade35786b4
1 changed files with 4 additions and 1 deletions

View File

@ -45,7 +45,10 @@
</el-form-item> </el-form-item>
</el-tooltip> </el-tooltip>
<el-button :loading="loading" type="primary" style="width:100%;margin-bottom:30px;" @click.native.prevent="handleLogin">Login</el-button> <el-button :loading="loading" type="primary" style="width:100%;margin-bottom:30px;" @click.native.prevent="handleLogin">
<span v-if="!loading">Login</span>
<span v-else>Logging in...</span>
</el-button>
<div style="position:relative"> <div style="position:relative">
<div class="tips"> <div class="tips">