|
|
@@ -316,6 +316,12 @@ export default {
|
|
|
confirmButtonText: '确认',
|
|
|
cancelButtonText: '取消'
|
|
|
}).then(({ value }) => {
|
|
|
+ // 遮屏
|
|
|
+ this.loading = Loading.service({
|
|
|
+ lock: true,
|
|
|
+ text: '处理中, 请稍等...',
|
|
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
|
+ })
|
|
|
this.sublmeRecharge(accountLists, value)
|
|
|
}).catch(() => {
|
|
|
return Message({
|
|
|
@@ -354,13 +360,6 @@ export default {
|
|
|
this.thenAccountNum++
|
|
|
|
|
|
if (loadingNum > 1) {
|
|
|
- // 遮屏
|
|
|
- this.loading = Loading.service({
|
|
|
- lock: true,
|
|
|
- text: '处理中, 请稍等...',
|
|
|
- background: 'rgba(0, 0, 0, 0.7)'
|
|
|
- })
|
|
|
-
|
|
|
// 成功后处理剩下账号数据
|
|
|
accountLists = LodashArray.drop(accountLists) // 删除第一个账户
|
|
|
accountLists.forEach(async(item, index) => {
|
|
|
@@ -376,6 +375,7 @@ export default {
|
|
|
this.catchAccount = this.catchAccount + oneAccount + '\n'
|
|
|
this.catchAccountNum++
|
|
|
|
|
|
+ this.cloneLoading()
|
|
|
return Message({
|
|
|
type: 'warning',
|
|
|
message: message
|
|
|
@@ -385,6 +385,7 @@ export default {
|
|
|
this.catchAccount = this.catchAccount + oneAccount + '\n'
|
|
|
this.catchAccountNum++
|
|
|
|
|
|
+ this.cloneLoading()
|
|
|
return Message({
|
|
|
type: 'error',
|
|
|
message: error.message
|
|
|
@@ -394,7 +395,8 @@ export default {
|
|
|
this.noExistence = this.noExistence + oneAccount + '\n'
|
|
|
this.noExistenceNum++
|
|
|
|
|
|
- Message({
|
|
|
+ this.cloneLoading()
|
|
|
+ return Message({
|
|
|
type: 'error',
|
|
|
message: '检测:' + message
|
|
|
})
|
|
|
@@ -404,7 +406,8 @@ export default {
|
|
|
this.catchAccount = this.catchAccount + oneAccount + '\n'
|
|
|
this.catchAccountNum++
|
|
|
|
|
|
- Message({
|
|
|
+ this.cloneLoading()
|
|
|
+ return Message({
|
|
|
type: 'error',
|
|
|
message: '检测:' + error.message
|
|
|
})
|
|
|
@@ -417,13 +420,6 @@ export default {
|
|
|
this.thenAccountNum++
|
|
|
|
|
|
if (loadingNum > 1) {
|
|
|
- // 遮屏
|
|
|
- this.loading = Loading.service({
|
|
|
- lock: true,
|
|
|
- text: '处理中, 请稍等...',
|
|
|
- background: 'rgba(0, 0, 0, 0.7)'
|
|
|
- })
|
|
|
-
|
|
|
// 成功后处理剩下账号数据
|
|
|
accountLists = LodashArray.drop(accountLists) // 删除第一个账户
|
|
|
accountLists.forEach(async(item, index) => {
|
|
|
@@ -439,6 +435,7 @@ export default {
|
|
|
this.catchAccount = this.catchAccount + oneAccount + '\n'
|
|
|
this.catchAccountNum++
|
|
|
|
|
|
+ this.cloneLoading()
|
|
|
return Message({
|
|
|
type: 'warning',
|
|
|
message: message
|
|
|
@@ -448,6 +445,7 @@ export default {
|
|
|
this.catchAccount = this.catchAccount + oneAccount + '\n'
|
|
|
this.catchAccountNum++
|
|
|
|
|
|
+ this.cloneLoading()
|
|
|
return Message({
|
|
|
type: 'error',
|
|
|
message: error.message
|