Skip to content

Commit

Permalink
fix(frontend): 监控告警自测bug修复 #1531
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia committed Oct 30, 2023
1 parent 441238a commit e21d5c9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
checked: ['name', 'status', 'priority', 'duty_arranges', 'effective_time', 'update_at', 'updater', 'is_enabled'],
};

useRequest(getPriorityDistinct, {
const { run: runGetPriorityDistinct } = useRequest(getPriorityDistinct, {
onSuccess: (list) => {
if (list.length > 3) {
sortedPriority.value = list.slice(0, 3);
Expand Down Expand Up @@ -372,7 +372,8 @@
// 设置成功
messageSuccess(t('优先级设置成功'));
}
fetchHostNodes();
runGetPriorityDistinct();
await fetchHostNodes();
setTimeout(() => {
window.changeConfirm = false;
});
Expand Down

0 comments on commit e21d5c9

Please sign in to comment.