diff --git a/src/views/tool/iperf/index.vue b/src/views/tool/iperf/index.vue index f9b0ee0d..486a6379 100644 --- a/src/views/tool/iperf/index.vue +++ b/src/views/tool/iperf/index.vue @@ -66,7 +66,7 @@ async function fnIPerf() { }); return; } - if (state.dataType === 'options' && state.data.host === '') { + if (state.dataType === 'options' && state.data.mode === 'client' && state.data.host === '') { message.warning({ content: 'Please fill in the Host', duration: 2,