gpc-ui 0.1.18 → 0.1.19
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/lib/gpc-ui.common.js +35 -35
- package/lib/gpc-ui.common.js.map +1 -1
- package/lib/gpc-ui.css +1 -1
- package/lib/gpc-ui.umd.js +35 -35
- package/lib/gpc-ui.umd.js.map +1 -1
- package/lib/gpc-ui.umd.min.js +1 -1
- package/lib/gpc-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/gpc-login/index.vue +6 -6
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<TabPane label="验证码登录" name="2">
|
|
45
45
|
<div>
|
|
46
46
|
<div class="input-box">
|
|
47
|
-
<input type="text" placeholder="手机号" v-model="verifyFrom.
|
|
47
|
+
<input type="text" placeholder="手机号" v-model="verifyFrom.phoneNum">
|
|
48
48
|
</div>
|
|
49
49
|
<div class="input-box">
|
|
50
50
|
<drag-verify ref="dragVerifyLogin" :width="300" :isPassing.sync="isPassingLogin" text="请按住滑块拖动" successText="验证通过" progressBarBg="#11C36A"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<div>
|
|
70
70
|
<h3>重置密码</h3>
|
|
71
71
|
<div class="input-box">
|
|
72
|
-
<input type="text" placeholder="手机号" v-model="resetFrom.
|
|
72
|
+
<input type="text" placeholder="手机号" v-model="resetFrom.phoneNum">
|
|
73
73
|
</div>
|
|
74
74
|
<div class="input-box">
|
|
75
75
|
<drag-verify ref="dragVerifyRest" :width="320" :isPassing.sync="isPassingRest" text="请按住滑块拖动" successText="验证通过" progressBarBg="#11C36A"
|
|
@@ -175,7 +175,7 @@ export default {
|
|
|
175
175
|
isPassingAccount: false,
|
|
176
176
|
// 验证码登录
|
|
177
177
|
verifyFrom:{
|
|
178
|
-
|
|
178
|
+
phoneNum: "",
|
|
179
179
|
authCode: "",
|
|
180
180
|
smsCode: "",
|
|
181
181
|
},
|
|
@@ -185,7 +185,7 @@ export default {
|
|
|
185
185
|
isDisabledLogin: false,
|
|
186
186
|
// 重置密码
|
|
187
187
|
resetFrom:{
|
|
188
|
-
|
|
188
|
+
phoneNum: "",
|
|
189
189
|
authCode: "",
|
|
190
190
|
smsCode: "",
|
|
191
191
|
},
|
|
@@ -240,7 +240,7 @@ export default {
|
|
|
240
240
|
this.$notify.error({ message: '表单数据未正确初始化,请刷新页面重试。' });
|
|
241
241
|
return false;
|
|
242
242
|
}
|
|
243
|
-
if (!this.verifyFrom.
|
|
243
|
+
if (!this.verifyFrom.phoneNum) {
|
|
244
244
|
this.$notify.error({ message: '请输入手机号' });
|
|
245
245
|
return false;
|
|
246
246
|
}
|
|
@@ -318,7 +318,7 @@ export default {
|
|
|
318
318
|
this.$notify.error({ message: '表单数据未正确初始化,请刷新页面重试。' });
|
|
319
319
|
return false;
|
|
320
320
|
}
|
|
321
|
-
if (!this.resetFrom.
|
|
321
|
+
if (!this.resetFrom.phoneNum) {
|
|
322
322
|
this.$notify.error({ message: '请输入手机号' });
|
|
323
323
|
return false;
|
|
324
324
|
}
|