fix: 工具ipfer操作客户端host输入判断

This commit is contained in:
TsMask
2024-11-19 16:58:07 +08:00
parent 9322f52c9a
commit ebc46ff7d4

View File

@@ -66,7 +66,7 @@ async function fnIPerf() {
}); });
return; return;
} }
if (state.dataType === 'options' && state.data.host === '') { if (state.dataType === 'options' && state.data.mode === 'client' && state.data.host === '') {
message.warning({ message.warning({
content: 'Please fill in the Host', content: 'Please fill in the Host',
duration: 2, duration: 2,