|
|
@ -341,7 +341,6 @@ const NvrHeader = (props) => { |
|
|
|
const remind = localStorage.getItem(USER); |
|
|
|
console.log(remind) |
|
|
|
if (!remind) { |
|
|
|
console.log(1) |
|
|
|
setReminder(true) |
|
|
|
} |
|
|
|
equipmentGetNvr(); |
|
|
@ -452,9 +451,9 @@ const NvrHeader = (props) => { |
|
|
|
}} |
|
|
|
onClick={() => { |
|
|
|
api.current.validate().then((v) => { |
|
|
|
setearch({ ...v, limit: 10, page: 0 }); |
|
|
|
setearch(v); |
|
|
|
setQuery({ limit: 10, page: 0 }) |
|
|
|
}); |
|
|
|
equipmentGetNvr(); |
|
|
|
}} |
|
|
|
> |
|
|
|
搜素 |
|
|
@ -473,7 +472,6 @@ const NvrHeader = (props) => { |
|
|
|
onClick={() => { |
|
|
|
api.current.reset(); |
|
|
|
setearch({}); |
|
|
|
equipmentGetNvr(); |
|
|
|
}} |
|
|
|
> |
|
|
|
重置 |
|
|
|