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} />,