gpc-ui 0.1.20 → 0.1.22

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gpc-ui",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "二小UI",
5
5
  "private": false,
6
6
  "main": "lib/gpc-ui.umd.min.js",
@@ -4,7 +4,7 @@
4
4
  <div style="color: #018a46; font-size: 40px; font-style: unset; text-align: right;">
5
5
  {{systemTitle}}
6
6
  </div>
7
- <div style="color: #018a46; font-size: 32px; font-style: unset; text-align: right;">·{{subtitle}}</div>
7
+ <div style="color: #018a46; font-size: 32px; font-style: unset; text-align: right;">{{subtitle}}</div>
8
8
  </div>
9
9
  <div class="wrap-box">
10
10
  <div class="box-content">
@@ -293,7 +293,7 @@ export default {
293
293
  if(this.isPassingLogin){
294
294
  this.$emit('applySMSCodeRequest', this.verifyFrom);
295
295
  this.isDisabledLogin = true
296
- this.countdownLogin = 3
296
+ this.countdownLogin = 60
297
297
  const interval = setInterval(()=>{
298
298
  this.countdownLogin--
299
299
  if(this.countdownLogin === 0){
@@ -373,7 +373,7 @@ export default {
373
373
  if(this.isPassingRest){
374
374
  this.$emit('applySMSCodeRequest', this.resetFrom);
375
375
  this.isDisabledRest = true
376
- this.countdownRest = 3
376
+ this.countdownRest = 60
377
377
  const interval = setInterval(()=>{
378
378
  this.countdownRest--
379
379
  if(this.countdownRest === 0){
@@ -387,6 +387,13 @@ export default {
387
387
  passCallRestBack() {
388
388
  this.$emit('getCodeRequest', 'rest');
389
389
  },
390
+ resetPwNotice(){
391
+ this.accountFrom.username = this.resetFrom.phoneNum
392
+ this.resetFrom.phoneNum = ''
393
+ this.resetFrom.code = ''
394
+ this.resetFrom.smsCode = ''
395
+ this.getLogin()
396
+ },
390
397
  resetPw() {
391
398
  this.isPassingRest = false;
392
399
  this.$refs.dragVerifyRest.reset()