Skip to content

Commit ab1f290

Browse files
committed
fix loading bugs
1 parent acebc0f commit ab1f290

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/user/login.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
33
<el-dialog title="Login" :visible.sync="$store.state.user.showlogin" :destroy-on-close="true" :close-on-click-modal="false" width="500px">
4-
<el-form :model="ldata" ref="loginForm" :rules="rules" :status-icon="true">
4+
<el-form :model="ldata" ref="loginForm" :rules="rules">
55
<div class="icon-lable"><i class="el-icon-user" /> Username</div>
66
<el-form-item prop="username">
77
<el-input v-model="ldata.username"></el-input>
@@ -71,6 +71,7 @@ export default {
7171
});
7272
this.$SegmentMessage.success(this, 'Logged in');
7373
this.$store.state.user.showlogin = false;
74+
this.buttonLoading = false;
7475
})
7576
.catch(err => {
7677
if (err.request.status === 403) {

0 commit comments

Comments
 (0)