fix: 增加兑换码时间的禁用
This commit is contained in:
parent
b06cf8f31b
commit
5f411474b5
|
@ -445,7 +445,8 @@ const UseProductPop = forwardRef((props, ref) => {
|
|||
};
|
||||
|
||||
const onDisabledTime = (date) => {
|
||||
const min = new Date();
|
||||
let step1 = JSON.parse(sessionStorage.getItem("datetime"));
|
||||
const min = new Date(step1[0]);
|
||||
const hour = min.getHours();
|
||||
const minute = min.getMinutes();
|
||||
const second = min.getSeconds();
|
||||
|
|
Loading…
Reference in New Issue