|
@@ -208,17 +208,17 @@
|
|
|
<div class="login-title">双子星快捷登录</div>
|
|
|
<van-field
|
|
|
placeholder="手机号"
|
|
|
+ type="digit"
|
|
|
v-model="laoginData.phone"
|
|
|
+ clearable
|
|
|
maxLength="11"
|
|
|
- @input="laoginData.phone = laoginData.phone.replace(/\D/g, '')"
|
|
|
/>
|
|
|
<van-field
|
|
|
placeholder="验证码"
|
|
|
v-model="laoginData.code"
|
|
|
+ clearable
|
|
|
+ type="digit"
|
|
|
maxLength="6"
|
|
|
- @input="
|
|
|
- laoginData.code = laoginData.code.replace(/[\u4e00-\u9fa5]/g, '')
|
|
|
- "
|
|
|
>
|
|
|
<template #button>
|
|
|
<div
|
|
@@ -534,7 +534,6 @@ export default {
|
|
|
this.$refs.assistRecodeList &&
|
|
|
this.$refs.assistGetPhoneRecode
|
|
|
) {
|
|
|
- console.log(123456)
|
|
|
this.$refs.assistRecodeList.data = [];
|
|
|
this.$refs.assistGetPhoneRecode.data = [];
|
|
|
this.$refs.assistRecodeList.list();
|
|
@@ -733,7 +732,7 @@ export default {
|
|
|
JSON.stringify({ type: Object, data: res.data }),
|
|
|
);
|
|
|
this.$toast('登录成功');
|
|
|
- const url = !res.data.jumpToPage
|
|
|
+ const url = res.data.jumpToPage
|
|
|
? '/claimCloudPhone?bool=1'
|
|
|
: '/claimCloudPhone/firstReward';
|
|
|
this.$router[res.data.jumpToPage ? 'replace' : 'push'](url);
|