Skip to content

Commit

Permalink
fix(frontend): 临时密码修改_轮询查询控制台报错修复 TencentBlueKing#8250
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 29332
  • Loading branch information
JustaCattt committed Jan 15, 2025
1 parent 05b6bf4 commit ce4d020
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,6 @@

const passwordDisplay = computed(() => (isShowPassword.value ? props.password : '********'));

// 轮询
const { isActive, resume, pause } = useTimeoutPoll(() => {
queryAsyncModifyResultRun({
root_id: props.rootId,
});
}, 2000);

const getInstanceList = (list: ServiceReturnType<typeof queryAsyncModifyResult>['success'] = []) => {
const arr: string[] = [];
list.forEach((item) => {
Expand Down Expand Up @@ -209,6 +202,13 @@
},
});

// 轮询
const { isActive, resume, pause } = useTimeoutPoll(() => {
queryAsyncModifyResultRun({
root_id: props.rootId,
});
}, 2000);

watch(
() => props.rootId,
() => {
Expand Down

0 comments on commit ce4d020

Please sign in to comment.