|
|
@@ -439,10 +439,16 @@
|
|
|
},
|
|
|
// 登录
|
|
|
isLogin (flag) {
|
|
|
+ this.$message({
|
|
|
+ duration: 0,
|
|
|
+ showClose: true,
|
|
|
+ message: '恭喜你,这是一条成功消息',
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
this.isShowLoading = true
|
|
|
if (!this.login.username) {
|
|
|
this.isShowLoading = false
|
|
|
- // this.$message.error('请填写账号')
|
|
|
+ this.$message.error('请填写账号')
|
|
|
} else if (!this.login.password) {
|
|
|
this.isShowLoading = false
|
|
|
this.$message.error('请填写密码')
|