fix: 网元快速安装页面变量缺失导致编译出错
This commit is contained in:
@@ -137,8 +137,8 @@ const installStateFrom = Form.useForm(
|
||||
* 对话框弹出测试连接
|
||||
*/
|
||||
function fnModalTest(row: Record<string, any>) {
|
||||
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<string, any>) {
|
||||
})
|
||||
.finally(() => {
|
||||
hide();
|
||||
checkState.confirmLoading = false;
|
||||
installState.confirmLoading = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user