From dcfb72143a0124f981802ddec1d515f08c519567 Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 7 Jan 2023 18:19:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=AF=8F=E9=A1=B5=E6=95=B0=E6=8D=AE=E9=87=8F=E5=A4=A7?= =?UTF-8?q?=E6=97=B6=E6=90=9C=E7=B4=A2=E5=8D=A1=E9=A1=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/crontab/index.tsx | 4 ---- src/pages/subscription/index.tsx | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/pages/crontab/index.tsx b/src/pages/crontab/index.tsx index f5d3176e..638aa1a5 100644 --- a/src/pages/crontab/index.tsx +++ b/src/pages/crontab/index.tsx @@ -112,7 +112,6 @@ const Crontab = () => { style={{ cursor: 'point' }} onClick={(e) => { e.stopPropagation(); - setSearchValue(`label:${label}`); setSearchText(`label:${label}`); }} > @@ -378,7 +377,6 @@ const Crontab = () => { const [viewConf, setViewConf] = useState(); const [isDetailModalVisible, setIsDetailModalVisible] = useState(false); const [detailCron, setDetailCron] = useState(); - const [searchValue, setSearchValue] = useState(''); const [total, setTotal] = useState(); const [isCreateViewModalVisible, setIsCreateViewModalVisible] = useState(false); @@ -945,8 +943,6 @@ const Crontab = () => { enterButton allowClear loading={loading} - value={searchValue} - onChange={(e) => setSearchValue(e.target.value)} onSearch={onSearch} />,