补充清除搜索条件
This commit is contained in:
parent
8b6428fcff
commit
97308b06e9
@ -79,7 +79,7 @@ export default function Index() {
|
||||
})
|
||||
}
|
||||
// 选择的标签
|
||||
const [tagCor, setTagCor] = useState('')
|
||||
const [tagCor, setTagCor] = useState<string | null>(null)
|
||||
|
||||
|
||||
// 选项数组
|
||||
@ -266,6 +266,7 @@ export default function Index() {
|
||||
setcorrectionNumType(null)
|
||||
setcorrectionType(null)
|
||||
setcorrectionApplyStatus(null)
|
||||
setTagCor(null)
|
||||
}
|
||||
const nav = useNavigate();
|
||||
const [searchParams] = useSearchParams();
|
||||
@ -1335,10 +1336,10 @@ export default function Index() {
|
||||
/>
|
||||
<Select
|
||||
allowClear
|
||||
// value={tagDataId}
|
||||
value={tagDataId}
|
||||
style={{ height: '31px', width: '130px', marginLeft: 20, display: showSearchBox ? 'block' : 'none' }}
|
||||
onChange={(value: string) => {
|
||||
// console.log(`selected ${value}`);
|
||||
console.log(`selected ${value}`);
|
||||
// const [part1, part2] = value.split(':');
|
||||
// console.log('part1:', part1);
|
||||
// console.log('part2:', part2);
|
||||
@ -1634,7 +1635,7 @@ export default function Index() {
|
||||
allowClear
|
||||
/>
|
||||
<Select
|
||||
// value={correctionApplyStatus}
|
||||
value={tagCor}
|
||||
style={{ height: '31px', width: '120px', marginLeft: 10 }}
|
||||
onChange={(value: string) => {
|
||||
setTagCor(value)
|
||||
|
Loading…
Reference in New Issue
Block a user