From abf7420f23d7c9415e73571865a3ebdb5d55bd4e Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 10 Aug 2022 17:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/list/list.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/exchangecode/list/list.js b/src/pages/exchangecode/list/list.js index 63dadd7e..7dbd76dd 100644 --- a/src/pages/exchangecode/list/list.js +++ b/src/pages/exchangecode/list/list.js @@ -186,13 +186,11 @@ export default class acclist extends React.Component { } /* 处理可复制数据逻辑 */ - copyElementFunction({ key_batch_id, status, end_time, keyBatch, id, title }) { - const today = moment().format('yyyy-MM-DD HH:mm:ss') + copyElementFunction({ key_batch_id, status, keyBatch, id, title }) { let element = '' if ( ![-1, 6, 7].includes(status) && ![6, 7].includes(keyBatch?.status) && - end_time > today && !keyBatch?.approval_status && keyBatch?.discard === 0 ) {