commit
Showing
4 changed files
with
12 additions
and
4 deletions
| ... | @@ -277,7 +277,7 @@ | ... | @@ -277,7 +277,7 @@ |
| 277 | activity() { | 277 | activity() { |
| 278 | const loading = this.$loading({ | 278 | const loading = this.$loading({ |
| 279 | lock: true, | 279 | lock: true, |
| 280 | text: 'Loading', | 280 | text: '加载中...', |
| 281 | spinner: 'el-icon-loading', | 281 | spinner: 'el-icon-loading', |
| 282 | background: 'rgba(0, 0, 0, 0.7)' | 282 | background: 'rgba(0, 0, 0, 0.7)' |
| 283 | }); | 283 | }); | ... | ... |
| ... | @@ -87,7 +87,7 @@ | ... | @@ -87,7 +87,7 @@ |
| 87 | activity() { | 87 | activity() { |
| 88 | const loading = this.$loading({ | 88 | const loading = this.$loading({ |
| 89 | lock: true, | 89 | lock: true, |
| 90 | text: 'Loading', | 90 | text: '加载中...', |
| 91 | spinner: 'el-icon-loading', | 91 | spinner: 'el-icon-loading', |
| 92 | background: 'rgba(0, 0, 0, 0.7)' | 92 | background: 'rgba(0, 0, 0, 0.7)' |
| 93 | }); | 93 | }); | ... | ... |
| ... | @@ -677,6 +677,12 @@ | ... | @@ -677,6 +677,12 @@ |
| 677 | }) | 677 | }) |
| 678 | }, | 678 | }, |
| 679 | createUserInfoSubmit() { | 679 | createUserInfoSubmit() { |
| 680 | const loading = this.$loading({ | ||
| 681 | lock: true, | ||
| 682 | text: '加载中...', | ||
| 683 | spinner: 'el-icon-loading', | ||
| 684 | background: 'rgba(0, 0, 0, 0.7)' | ||
| 685 | }); | ||
| 680 | let config = { | 686 | let config = { |
| 681 | headers: { | 687 | headers: { |
| 682 | 'Content-Type': 'application/x-www-form-urlencoded' | 688 | 'Content-Type': 'application/x-www-form-urlencoded' |
| ... | @@ -706,8 +712,10 @@ | ... | @@ -706,8 +712,10 @@ |
| 706 | type: 'success' | 712 | type: 'success' |
| 707 | }); | 713 | }); |
| 708 | } | 714 | } |
| 715 | loading.close(); | ||
| 709 | }).catch(error=>{ | 716 | }).catch(error=>{ |
| 710 | console.log(error); | 717 | console.log(error); |
| 718 | loading.close(); | ||
| 711 | this.$message({ | 719 | this.$message({ |
| 712 | showClose: true, | 720 | showClose: true, |
| 713 | message: '服务器处理失败,请核对参数!', | 721 | message: '服务器处理失败,请核对参数!', |
| ... | @@ -723,7 +731,7 @@ | ... | @@ -723,7 +731,7 @@ |
| 723 | queryPhoneCodeSubmit() { | 731 | queryPhoneCodeSubmit() { |
| 724 | const loading = this.$loading({ | 732 | const loading = this.$loading({ |
| 725 | lock: true, | 733 | lock: true, |
| 726 | text: 'Loading', | 734 | text: '加载中...', |
| 727 | spinner: 'el-icon-loading', | 735 | spinner: 'el-icon-loading', |
| 728 | background: 'rgba(0, 0, 0, 0.7)' | 736 | background: 'rgba(0, 0, 0, 0.7)' |
| 729 | }); | 737 | }); | ... | ... |
| ... | @@ -172,7 +172,7 @@ | ... | @@ -172,7 +172,7 @@ |
| 172 | activity() { | 172 | activity() { |
| 173 | const loading = this.$loading({ | 173 | const loading = this.$loading({ |
| 174 | lock: true, | 174 | lock: true, |
| 175 | text: 'Loading', | 175 | text: '加载中...', |
| 176 | spinner: 'el-icon-loading', | 176 | spinner: 'el-icon-loading', |
| 177 | background: 'rgba(0, 0, 0, 0.7)' | 177 | background: 'rgba(0, 0, 0, 0.7)' |
| 178 | }); | 178 | }); | ... | ... |
-
Please register or sign in to post a comment