diff --git a/src/components/keyDelay/index.jsx b/src/components/keyDelay/index.jsx index 19bb9821..85c570d6 100644 --- a/src/components/keyDelay/index.jsx +++ b/src/components/keyDelay/index.jsx @@ -16,7 +16,6 @@ export default ({ data = [], onColes }) => { useEffect(() => { if (data.length < 2) { - console.log(1) setModel({ ...data[0].expiration_value }) } }, [data]) @@ -73,7 +72,7 @@ export default ({ data = [], onColes }) => { <>
-

{keyDelayFunc(data[0].batch_expiration_value)}

+

{keyDelayFunc(data[0].batch_expiration_conf)}

{keyDelayFunc(rowData.expiration_value)} + return {keyDelayFunc(rowData.expiration_conf)} } if (com == "title") { return ( diff --git a/src/pages/plan/keyList/index.jsx b/src/pages/plan/keyList/index.jsx index f06ac812..2a85e733 100644 --- a/src/pages/plan/keyList/index.jsx +++ b/src/pages/plan/keyList/index.jsx @@ -740,7 +740,7 @@ const UseKeyList = () => { ) } if (com == "delay") { - return {keyDelayFunc(rowData.expiration_value)} + return {keyDelayFunc(rowData.expiration_conf)} } if (com == "status") { return (