|
@@ -587,6 +587,12 @@ function DataTableContent() {
|
|
|
fetchData(1, 100, selectedPoolAddress, sortField)
|
|
fetchData(1, 100, selectedPoolAddress, sortField)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ function handleReset() {
|
|
|
|
|
+ setPriceLower(0)
|
|
|
|
|
+ setPriceUpper(0)
|
|
|
|
|
+ setQuickCopyAmount(1)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// 子表格的列定义
|
|
// 子表格的列定义
|
|
|
const childColumns = [
|
|
const childColumns = [
|
|
|
{
|
|
{
|
|
@@ -750,6 +756,9 @@ function DataTableContent() {
|
|
|
max={100000}
|
|
max={100000}
|
|
|
onChange={(value) => setPriceUpper(value as number)}
|
|
onChange={(value) => setPriceUpper(value as number)}
|
|
|
/>
|
|
/>
|
|
|
|
|
+ <Button type="primary" className="ml-2 mr-2" onClick={handleReset}>
|
|
|
|
|
+ 重置
|
|
|
|
|
+ </Button>
|
|
|
{selectedRowKeys.length > 0 && (
|
|
{selectedRowKeys.length > 0 && (
|
|
|
<Button
|
|
<Button
|
|
|
type="primary"
|
|
type="primary"
|