From 6999249597d26f4e8f3dd7ba2a3c63a7d17a2b80 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期二, 30 十一月 2021 10:55:28 +0800 Subject: [PATCH] update: TODO#130897 調整倒數計時格式 --- PAMapp/pages/login/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMapp/pages/login/index.vue b/PAMapp/pages/login/index.vue index 96c04d5..39f97ee 100644 --- a/PAMapp/pages/login/index.vue +++ b/PAMapp/pages/login/index.vue @@ -403,13 +403,13 @@ get phoneCounter() { let min = Math.floor(this.otpCounterSec / 60); let sec = Math.floor(this.otpCounterSec % 60); - return `${min < 10 ? '0' + min : min} : ${sec < 10 ? '0' + sec : sec}`; + return `${min < 10 ? '0' + min : min}:${sec < 10 ? '0' + sec : sec}`; } get emailOtpCounter() { let min = Math.floor(this.emailCounterSec / 60); let sec = Math.floor(this.emailCounterSec % 60); - return `${min < 10 ? '0' + min : min} : ${sec < 10 ? '0' + sec : sec}`; + return `${min < 10 ? '0' + min : min}:${sec < 10 ? '0' + sec : sec}`; } get showPhoneOtpCodeField(): boolean { -- Gitblit v1.8.0