diff --git a/src/views/login.vue b/src/views/login.vue index 7a39e16..ba01e5c 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -95,7 +95,12 @@ export default { }, login() { var store = this.$store.state; - + this.loading = this.$loading({ + lock: true, + text: '登录中', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }); // "username": "xiaomeng", // "password": "lihe12345" if (!this.username) {