diff --git a/src/views/tool/neQuickSetup/components/StepInstall.vue b/src/views/tool/neQuickSetup/components/StepInstall.vue index 7464336c..879dcd78 100644 --- a/src/views/tool/neQuickSetup/components/StepInstall.vue +++ b/src/views/tool/neQuickSetup/components/StepInstall.vue @@ -137,8 +137,8 @@ const installStateFrom = Form.useForm( * 对话框弹出测试连接 */ function fnModalTest(row: Record) { - if (checkState.confirmLoading) return; - checkState.confirmLoading = true; + if (installState.confirmLoading) return; + installState.confirmLoading = true; const hide = message.loading(t('common.loading'), 0); testNeHost(row) .then(res => { @@ -156,7 +156,7 @@ function fnModalTest(row: Record) { }) .finally(() => { hide(); - checkState.confirmLoading = false; + installState.confirmLoading = false; }); }