From 7112ac7e93e646cbb8a32cd0abb60eae418e4a3e Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 11 Apr 2024 16:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/keyDelay/index.jsx | 3 +-- src/pages/plan/key/detail/list.js | 2 +- src/pages/plan/keyList/index.jsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) 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 (