jufubao-base 1.0.253-beta1 → 1.0.254-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +6 -4
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +16 -10
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +13 -6
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +10 -6
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +10 -6
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +16 -2
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +5 -3
- package/src/components/JfbBaseNoticeDialog/Attr.js +1 -0
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +5 -1
- package/src/components/JfbBasePay/JfbBasePay.vue +35 -19
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +21 -5
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +30 -29
- package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +18 -11
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +5 -3
package/package.json
CHANGED
|
@@ -157,10 +157,12 @@
|
|
|
157
157
|
},
|
|
158
158
|
handleBindCard(){
|
|
159
159
|
if(!this.cardForm.valid_code){
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
this.$xdAlert({
|
|
161
|
+
content: '请输入验证码',
|
|
162
|
+
time: 2500,
|
|
163
|
+
isClose: false,
|
|
164
|
+
zIndex: 5000
|
|
165
|
+
});
|
|
164
166
|
return;
|
|
165
167
|
}
|
|
166
168
|
jfbRootExec("pwdCardBind", {
|
|
@@ -265,10 +265,12 @@ export default {
|
|
|
265
265
|
this.dialogShow = false;
|
|
266
266
|
this.handleConfirm();
|
|
267
267
|
}else{
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
this.$xdAlert({
|
|
269
|
+
content: '签名不能为空',
|
|
270
|
+
time: 2500,
|
|
271
|
+
isClose: false,
|
|
272
|
+
zIndex: 5000
|
|
273
|
+
});
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
})
|
|
@@ -410,16 +412,20 @@ export default {
|
|
|
410
412
|
},
|
|
411
413
|
handleSendCode() {
|
|
412
414
|
if (this.phoneNumber.length < 11) {
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
415
|
+
this.$xdAlert({
|
|
416
|
+
content: '请输入11位手机号',
|
|
417
|
+
time: 2500,
|
|
418
|
+
isClose: false,
|
|
419
|
+
zIndex: 5000
|
|
416
420
|
});
|
|
417
421
|
return;
|
|
418
422
|
}
|
|
419
423
|
if (!this.validatePhoneNumber(this.phoneNumber)) {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
424
|
+
this.$xdAlert({
|
|
425
|
+
content: '手机号格式不正确',
|
|
426
|
+
time: 2500,
|
|
427
|
+
isClose: false,
|
|
428
|
+
zIndex: 5000
|
|
423
429
|
});
|
|
424
430
|
return;
|
|
425
431
|
}
|
|
@@ -195,7 +195,8 @@
|
|
|
195
195
|
jwxSDK: null,
|
|
196
196
|
refresh: true, //onshow是否刷新数据
|
|
197
197
|
showLocationDialog: false,
|
|
198
|
-
cityPath: ''
|
|
198
|
+
cityPath: '',
|
|
199
|
+
resource_shop_id: ''
|
|
199
200
|
}
|
|
200
201
|
},
|
|
201
202
|
watch: {
|
|
@@ -252,7 +253,7 @@
|
|
|
252
253
|
// #endif
|
|
253
254
|
},
|
|
254
255
|
methods: {
|
|
255
|
-
async onJfbLoad(options) {
|
|
256
|
+
async onJfbLoad(options) {
|
|
256
257
|
this.xnamespace = this.projectAttr.business_code
|
|
257
258
|
this.getUserInfo()
|
|
258
259
|
this.options = options
|
|
@@ -281,6 +282,7 @@
|
|
|
281
282
|
}).then(res => {
|
|
282
283
|
if (res && res.list.length > 0) {
|
|
283
284
|
this.shop_id = res.list[0].shop_id;
|
|
285
|
+
this.resource_shop_id = res.list[0].resource_shop_id;
|
|
284
286
|
this.shopName = res.list[0].resource_shop_name;
|
|
285
287
|
this.showMask = true;
|
|
286
288
|
this.showDialog = true;
|
|
@@ -291,6 +293,7 @@
|
|
|
291
293
|
})
|
|
292
294
|
} else {
|
|
293
295
|
this.shop_id = this.options.shop_id;
|
|
296
|
+
this.resource_shop_id = this.options.resource_shop_id;
|
|
294
297
|
this.p_getAsyncStep();
|
|
295
298
|
}
|
|
296
299
|
},
|
|
@@ -372,12 +375,16 @@
|
|
|
372
375
|
p_getQuickPayQRCode() {
|
|
373
376
|
return new Promise((resolve, reject) => {
|
|
374
377
|
this.$xdShowLoading({});
|
|
378
|
+
let data = {
|
|
379
|
+
shop_id: this.shop_id,
|
|
380
|
+
temp_order_id: this.temp_order_id,
|
|
381
|
+
business_code: this.xnamespace,
|
|
382
|
+
resource_shop_id: this.resource_shop_id
|
|
383
|
+
}
|
|
384
|
+
if(data.resource_shop_id) delete data.shop_id
|
|
375
385
|
jfbRootExec("getConsumpCode", {
|
|
376
386
|
vm: this,
|
|
377
|
-
data:
|
|
378
|
-
shop_id: this.shop_id,
|
|
379
|
-
temp_order_id: this.temp_order_id,
|
|
380
|
-
}
|
|
387
|
+
data: data
|
|
381
388
|
}).then(res => {
|
|
382
389
|
this.$xdHideLoading();
|
|
383
390
|
this.plusDiscount = res.plus_discount
|
|
@@ -900,9 +900,11 @@ export default {
|
|
|
900
900
|
if (this.time > 0) return;
|
|
901
901
|
const { phone_number } = this.accountForm;
|
|
902
902
|
if (!/^1[3-9]\d{9}$/.test(phone_number)) {
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
903
|
+
this.$xdAlert({
|
|
904
|
+
content: '请填写正确的手机号',
|
|
905
|
+
time: 2500,
|
|
906
|
+
isClose: false,
|
|
907
|
+
zIndex: 5000
|
|
906
908
|
});
|
|
907
909
|
return false;
|
|
908
910
|
}
|
|
@@ -1041,9 +1043,11 @@ export default {
|
|
|
1041
1043
|
else if (accountLoginType === "pwd" && !password)
|
|
1042
1044
|
err_tip = "密码不能为空";
|
|
1043
1045
|
if (err_tip) {
|
|
1044
|
-
return
|
|
1045
|
-
|
|
1046
|
-
|
|
1046
|
+
return this.$xdAlert({
|
|
1047
|
+
content: err_tip,
|
|
1048
|
+
time: 2500,
|
|
1049
|
+
isClose: false,
|
|
1050
|
+
zIndex: 5000
|
|
1047
1051
|
});
|
|
1048
1052
|
}
|
|
1049
1053
|
|
|
@@ -154,9 +154,11 @@ export default {
|
|
|
154
154
|
if (this.time > 0) return;
|
|
155
155
|
const { phone_number } = this.resetForm;
|
|
156
156
|
if (!/^1[3-9]\d{9}$/.test(phone_number)) {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
this.$xdAlert({
|
|
158
|
+
content: '请填写正确的手机号',
|
|
159
|
+
time: 2500,
|
|
160
|
+
isClose: false,
|
|
161
|
+
zIndex: 5000
|
|
160
162
|
});
|
|
161
163
|
return false;
|
|
162
164
|
}
|
|
@@ -185,9 +187,11 @@ export default {
|
|
|
185
187
|
toResetPassword() {
|
|
186
188
|
const { verification_code, phone_number } = this.resetForm;
|
|
187
189
|
if (!verification_code || !phone_number) {
|
|
188
|
-
return
|
|
189
|
-
|
|
190
|
-
|
|
190
|
+
return this.$xdAlert({
|
|
191
|
+
content: '填写手机号跟验证码',
|
|
192
|
+
time: 2500,
|
|
193
|
+
isClose: false,
|
|
194
|
+
zIndex: 5000
|
|
191
195
|
});
|
|
192
196
|
}
|
|
193
197
|
jfbRootExec("verifyPhoneCode", {
|
|
@@ -138,8 +138,22 @@
|
|
|
138
138
|
},
|
|
139
139
|
doSetPassword(){
|
|
140
140
|
const { password, confirm_password } = this.resetForm;
|
|
141
|
-
if(!password || !confirm_password)
|
|
142
|
-
|
|
141
|
+
if(!password || !confirm_password){
|
|
142
|
+
return this.$xdAlert({
|
|
143
|
+
content: '请输入密码',
|
|
144
|
+
time: 2500,
|
|
145
|
+
isClose: false,
|
|
146
|
+
zIndex: 5000
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
if(password !== confirm_password){
|
|
150
|
+
return this.$xdAlert({
|
|
151
|
+
content: '密码不一致',
|
|
152
|
+
time: 2500,
|
|
153
|
+
isClose: false,
|
|
154
|
+
zIndex: 5000
|
|
155
|
+
});
|
|
156
|
+
}
|
|
143
157
|
|
|
144
158
|
let typeFn = "resetPwd"
|
|
145
159
|
if(this.pwd_type == 1) typeFn = "setPwd"
|
|
@@ -114,9 +114,11 @@
|
|
|
114
114
|
if(res['is_ifream'] === 'Y') {
|
|
115
115
|
// #ifdef MP
|
|
116
116
|
if(!res.url){
|
|
117
|
-
return
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
return this.$xdAlert({
|
|
118
|
+
content: 'URL不存在',
|
|
119
|
+
time: 2500,
|
|
120
|
+
isClose: false,
|
|
121
|
+
zIndex: 5000
|
|
120
122
|
});
|
|
121
123
|
}
|
|
122
124
|
this.$xdUniHelper.redirectTo({
|
|
@@ -152,10 +152,14 @@ export default {
|
|
|
152
152
|
} else {
|
|
153
153
|
if(this.showGroup==='all') {
|
|
154
154
|
this.handlePop();
|
|
155
|
-
}else {
|
|
155
|
+
} else if(this.showGroup==='vip') {
|
|
156
156
|
if(this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP') {
|
|
157
157
|
this.handlePop();
|
|
158
158
|
}
|
|
159
|
+
} else if(this.showGroup==='notvip'){
|
|
160
|
+
if(!this.getTokenForKey('user_level')) {
|
|
161
|
+
this.handlePop();
|
|
162
|
+
}
|
|
159
163
|
}
|
|
160
164
|
}
|
|
161
165
|
}
|
|
@@ -319,10 +319,11 @@ export default {
|
|
|
319
319
|
this.is_can_pay = is_can_pay;
|
|
320
320
|
this.can_pay_message = can_pay_message;
|
|
321
321
|
if(is_can_pay !== "Y"){
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
322
|
+
this.$xdAlert({
|
|
323
|
+
content: can_pay_message,
|
|
324
|
+
time: 2500,
|
|
325
|
+
isClose: false,
|
|
326
|
+
zIndex: 5000
|
|
326
327
|
});
|
|
327
328
|
reject();
|
|
328
329
|
// this.$xdNavigateBack()
|
|
@@ -385,9 +386,11 @@ export default {
|
|
|
385
386
|
let {login_providers = []} = this.projectAttr;
|
|
386
387
|
console.log(this.projectAttr)
|
|
387
388
|
if (+payInfo.channel_amount > 0 && !this.channel_provider_id) {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
this.$xdAlert({
|
|
390
|
+
content: '请选择支付方式',
|
|
391
|
+
time: 2500,
|
|
392
|
+
isClose: false,
|
|
393
|
+
zIndex: 5000
|
|
391
394
|
});
|
|
392
395
|
return false;
|
|
393
396
|
}
|
|
@@ -459,23 +462,32 @@ export default {
|
|
|
459
462
|
success: (res) => {
|
|
460
463
|
this.$xdLog.setARMSInfo({options:this.options, res}, 'pay_success');
|
|
461
464
|
console.log("pay success", res);
|
|
462
|
-
|
|
463
|
-
|
|
465
|
+
this.$xdAlert({
|
|
466
|
+
content: '支付成功',
|
|
467
|
+
time: 2500,
|
|
468
|
+
isClose: false,
|
|
469
|
+
zIndex: 5000
|
|
464
470
|
});
|
|
465
471
|
cb(res);
|
|
466
472
|
},
|
|
467
473
|
cancel: () => {
|
|
468
474
|
this.$xdLog.setARMSInfo(this.options, 'cancel_pay');
|
|
469
|
-
|
|
470
|
-
|
|
475
|
+
this.$xdAlert({
|
|
476
|
+
content: '取消支付',
|
|
477
|
+
time: 2500,
|
|
478
|
+
isClose: false,
|
|
479
|
+
zIndex: 5000
|
|
471
480
|
});
|
|
472
481
|
},
|
|
473
482
|
fail: (error) => {
|
|
474
483
|
if (typeof error === 'string') error = {error: error}
|
|
475
484
|
if (window['jwxJfbSDKParams']) error = Object.assign(error, paySignData, window['jwxJfbSDKParams'])
|
|
476
485
|
this.$xdLog.setARMSError(error)
|
|
477
|
-
|
|
478
|
-
|
|
486
|
+
this.$xdAlert({
|
|
487
|
+
content: '支付失败',
|
|
488
|
+
time: 2500,
|
|
489
|
+
isClose: false,
|
|
490
|
+
zIndex: 5000
|
|
479
491
|
});
|
|
480
492
|
},
|
|
481
493
|
});
|
|
@@ -485,9 +497,11 @@ export default {
|
|
|
485
497
|
...paySignData,
|
|
486
498
|
success: (res) => {
|
|
487
499
|
this.$xdLog.setARMSInfo({options: this.options, res}, 'pay_success');
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
500
|
+
this.$xdAlert({
|
|
501
|
+
content: '支付成功',
|
|
502
|
+
time: 2500,
|
|
503
|
+
isClose: false,
|
|
504
|
+
zIndex: 5000
|
|
491
505
|
});
|
|
492
506
|
cb(res);
|
|
493
507
|
},
|
|
@@ -496,9 +510,11 @@ export default {
|
|
|
496
510
|
options: this.options,
|
|
497
511
|
error: JSON.stringify(err)
|
|
498
512
|
});
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
513
|
+
this.$xdAlert({
|
|
514
|
+
content: '支付失败',
|
|
515
|
+
time: 2500,
|
|
516
|
+
isClose: false,
|
|
517
|
+
zIndex: 5000
|
|
502
518
|
});
|
|
503
519
|
},
|
|
504
520
|
});
|
|
@@ -395,9 +395,11 @@ export default {
|
|
|
395
395
|
if (this.jfbTimeer > 0) return;
|
|
396
396
|
const { phone_number } = this.accountForm;
|
|
397
397
|
if (!/^1[3-9]\d{9}$/.test(phone_number)) {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
398
|
+
this.$xdAlert({
|
|
399
|
+
content: '请填写正确的手机号',
|
|
400
|
+
time: 2500,
|
|
401
|
+
isClose: false,
|
|
402
|
+
zIndex: 5000
|
|
401
403
|
});
|
|
402
404
|
return false;
|
|
403
405
|
}
|
|
@@ -434,8 +436,22 @@ export default {
|
|
|
434
436
|
doLoginForm() {
|
|
435
437
|
const { provider_id } = this;
|
|
436
438
|
const { phone_number, verification_code, user_name } = this.accountForm;
|
|
437
|
-
if (!phone_number || !verification_code)
|
|
438
|
-
|
|
439
|
+
if (!phone_number || !verification_code) {
|
|
440
|
+
return this.$xdAlert({
|
|
441
|
+
content: '手机号跟验证码不能为空',
|
|
442
|
+
time: 2500,
|
|
443
|
+
isClose: false,
|
|
444
|
+
zIndex: 5000
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
if(this.isCollectUsername && !user_name){
|
|
448
|
+
return this.$xdAlert({
|
|
449
|
+
content: '用户名不能为空',
|
|
450
|
+
time: 2500,
|
|
451
|
+
isClose: false,
|
|
452
|
+
zIndex: 5000
|
|
453
|
+
});
|
|
454
|
+
}
|
|
439
455
|
|
|
440
456
|
this.$xdShowLoading({})
|
|
441
457
|
jfbRootExec("phoneCollect", {
|
|
@@ -133,27 +133,16 @@
|
|
|
133
133
|
>暂不登录,去逛逛</view> -->
|
|
134
134
|
</view>
|
|
135
135
|
<xd-dialog :show.sync="showDialog"
|
|
136
|
+
title="系统提示"
|
|
136
137
|
:showClose="false"
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
:btnRadius="60"
|
|
139
|
+
maskAutoClose>
|
|
139
140
|
<view class="p_dialog_content">
|
|
140
|
-
<view class="">
|
|
141
|
-
<xd-font-icon icon="iconmingchengtubiao" :size="48" color="#666"></xd-font-icon>
|
|
142
|
-
</view>
|
|
143
|
-
<view class="cont_text">检测到短信发送异常<br/>是否跳过手机号收集?</view>
|
|
141
|
+
<view class="cont_text">检测到短信发送异常<br/>您是否跳过当前步骤</view>
|
|
144
142
|
</view>
|
|
145
|
-
<view slot="btn" class="btn_foot"
|
|
146
|
-
<
|
|
147
|
-
|
|
148
|
-
}"
|
|
149
|
-
@click="p_loginNotJump"
|
|
150
|
-
>不跳过</view>
|
|
151
|
-
<view class="btn_item" :style="{
|
|
152
|
-
backgroundColor: mainColor,
|
|
153
|
-
color: '#FFF'
|
|
154
|
-
}"
|
|
155
|
-
@click="p_loginJumpPhone"
|
|
156
|
-
>跳过</view>
|
|
143
|
+
<view slot="btn" class="btn_foot">
|
|
144
|
+
<xd-button width="240rpx" type="info" @click="p_loginNotJump">取消</xd-button>
|
|
145
|
+
<xd-button width="240rpx" type="primary" @click="p_loginJumpPhone">跳过</xd-button>
|
|
157
146
|
</view>
|
|
158
147
|
</xd-dialog>
|
|
159
148
|
</view>
|
|
@@ -516,9 +505,11 @@ export default {
|
|
|
516
505
|
if (this.jfbTimeer > 0) return;
|
|
517
506
|
const { phone_number } = this.accountForm;
|
|
518
507
|
if (!/^1[3-9]\d{9}$/.test(phone_number)) {
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
508
|
+
this.$xdAlert({
|
|
509
|
+
content: '请填写正确的手机号',
|
|
510
|
+
time: 2500,
|
|
511
|
+
isClose: false,
|
|
512
|
+
zIndex: 5000
|
|
522
513
|
});
|
|
523
514
|
return false;
|
|
524
515
|
}
|
|
@@ -592,10 +583,20 @@ export default {
|
|
|
592
583
|
const { auth_code, provider_id } = this;
|
|
593
584
|
const { phone_number, verification_code, user_name } = this.accountForm;
|
|
594
585
|
if (!phone_number || !verification_code){
|
|
595
|
-
return
|
|
586
|
+
return this.$xdAlert({
|
|
587
|
+
content: '手机号跟验证码不能为空',
|
|
588
|
+
time: 2500,
|
|
589
|
+
isClose: false,
|
|
590
|
+
zIndex: 5000
|
|
591
|
+
});
|
|
596
592
|
}
|
|
597
593
|
if(this.isCollectUsername && !user_name){
|
|
598
|
-
return
|
|
594
|
+
return this.$xdAlert({
|
|
595
|
+
content: '用户名不能为空',
|
|
596
|
+
time: 2500,
|
|
597
|
+
isClose: false,
|
|
598
|
+
zIndex: 5000
|
|
599
|
+
});
|
|
599
600
|
}
|
|
600
601
|
this.$xdShowLoading({});
|
|
601
602
|
jfbRootExec("phoneLogin", {
|
|
@@ -663,12 +664,12 @@ export default {
|
|
|
663
664
|
::v-deep .xd-dailog__body{
|
|
664
665
|
overflow: hidden;
|
|
665
666
|
}
|
|
666
|
-
::v-deep .xd-dailog__body-content{
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}
|
|
667
|
+
// ::v-deep .xd-dailog__body-content{
|
|
668
|
+
// padding: 0;
|
|
669
|
+
// overflow: hidden;
|
|
670
|
+
// }
|
|
670
671
|
.p_dialog_content{
|
|
671
|
-
padding:
|
|
672
|
+
padding: 20rpx 0rpx;
|
|
672
673
|
display: flex;
|
|
673
674
|
align-items: center;
|
|
674
675
|
justify-content: center;
|
|
@@ -676,7 +677,7 @@ export default {
|
|
|
676
677
|
text-align: left;
|
|
677
678
|
margin-left: 12rpx;
|
|
678
679
|
font-size: 32rpx;
|
|
679
|
-
color: #
|
|
680
|
+
color: #999999;
|
|
680
681
|
}
|
|
681
682
|
}
|
|
682
683
|
.btn_foot{
|
|
@@ -528,10 +528,14 @@
|
|
|
528
528
|
async toBindCardTicket(){
|
|
529
529
|
console.log(this.form, 'this.form')
|
|
530
530
|
const { card_password, card_number, valid_code } = this.form;
|
|
531
|
-
if(!valid_code)
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
531
|
+
if(!valid_code){
|
|
532
|
+
return this.$xdAlert({
|
|
533
|
+
content: '请输入验证码',
|
|
534
|
+
time: 2500,
|
|
535
|
+
isClose: false,
|
|
536
|
+
zIndex: 5000
|
|
537
|
+
});
|
|
538
|
+
}
|
|
535
539
|
this.$xdShowLoading({});
|
|
536
540
|
|
|
537
541
|
this.checkValidToken().then(() => {
|
|
@@ -556,9 +560,11 @@
|
|
|
556
560
|
const { code } = this.form;
|
|
557
561
|
|
|
558
562
|
if(!code) {
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
563
|
+
this.$xdAlert({
|
|
564
|
+
content: '请输入电子码',
|
|
565
|
+
time: 2500,
|
|
566
|
+
isClose: false,
|
|
567
|
+
zIndex: 5000
|
|
562
568
|
});
|
|
563
569
|
return ""
|
|
564
570
|
};
|
|
@@ -586,10 +592,11 @@
|
|
|
586
592
|
if(res.is_valid){
|
|
587
593
|
r();
|
|
588
594
|
}else{
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
595
|
+
this.$xdAlert({
|
|
596
|
+
content: '验证码错误',
|
|
597
|
+
time: 2500,
|
|
598
|
+
isClose: false,
|
|
599
|
+
zIndex: 5000
|
|
593
600
|
});
|
|
594
601
|
this.switchValidToken();
|
|
595
602
|
j();
|