瀏覽代碼

add sample date

CR013B1
Alex Cheung 1 月之前
父節點
當前提交
345d0970e4
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/utils/Utils.js

+ 2
- 1
src/utils/Utils.js 查看文件

@@ -184,7 +184,8 @@ export const isPasswordExpiry = () =>{
}

export const checkIsOnlyOnlinePaymentByIssueDate = (date) => {
const targetDate = new Date(2026, 0, 28, 8, 0, 0)
const targetDate = new Date(2026, 0, 28, 8, 0, 0) //2026-01-28T08:00:00.000Z
// const targetDate = new Date(2025, 6, 13, 8, 0, 0); //2025-07-13T08:00:00.000Z
const checkDate = DateUtils.convertToDate(date)
if (isDummyLoggedIn()){
return false;


Loading…
取消
儲存