Commit f220935e7033add642ae07b3604165ab347717e5
1 parent
b7e4e8e6
fix:DEFECT-610 定时任务清空数据没有实时清空,界面还有
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -59,6 +59,7 @@ | @@ -59,6 +59,7 @@ | ||
59 | @register="registerTable" | 59 | @register="registerTable" |
60 | > | 60 | > |
61 | <template #toolbar> | 61 | <template #toolbar> |
62 | + <a-button type="primary" @click="handleClearData"> 刷新 </a-button> | ||
62 | <Popconfirm | 63 | <Popconfirm |
63 | title="您确定要清空全部数据" | 64 | title="您确定要清空全部数据" |
64 | ok-text="确定" | 65 | ok-text="确定" |
@@ -261,6 +262,7 @@ | @@ -261,6 +262,7 @@ | ||
261 | await schedueLogCleanPage(); | 262 | await schedueLogCleanPage(); |
262 | createMessage.success(`清空成功`); | 263 | createMessage.success(`清空成功`); |
263 | handleSuccess(); | 264 | handleSuccess(); |
265 | + handleClearData(); | ||
264 | }; | 266 | }; |
265 | const handleSearchInfo = async () => { | 267 | const handleSearchInfo = async () => { |
266 | setProps({ | 268 | setProps({ |