jufubao-base 1.0.119-beta11 → 1.0.119-beta12
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
|
@@ -156,7 +156,7 @@ export default {
|
|
|
156
156
|
btnTwoUrl: "",
|
|
157
157
|
message: "发送验证码",
|
|
158
158
|
countdownTimer: null,
|
|
159
|
-
timeRemaining:
|
|
159
|
+
timeRemaining: 120,
|
|
160
160
|
disabled: false,
|
|
161
161
|
background:"",
|
|
162
162
|
method: "entry",
|
|
@@ -274,7 +274,7 @@ export default {
|
|
|
274
274
|
},
|
|
275
275
|
startCountdown() {
|
|
276
276
|
// 设置剩余时间
|
|
277
|
-
this.timeRemaining =
|
|
277
|
+
this.timeRemaining = 120;
|
|
278
278
|
// 设置定时器,每秒执行一次
|
|
279
279
|
this.countdownTimer = setInterval(() => {
|
|
280
280
|
// 每秒减少1
|
|
@@ -290,7 +290,7 @@ export default {
|
|
|
290
290
|
// 清除定时器
|
|
291
291
|
clearInterval(this.countdownTimer);
|
|
292
292
|
// 重新设置时间
|
|
293
|
-
this.timeRemaining =
|
|
293
|
+
this.timeRemaining = 120;
|
|
294
294
|
}
|
|
295
295
|
}, 1000);
|
|
296
296
|
},
|