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