fix: 解决容器编辑时删除暴露端口 IP 不生效的问题 (#3193)

This commit is contained in:
ssongliu
2023-12-05 14:24:10 +00:00
committed by GitHub
parent d79814ff05
commit b1e4ad9bfc
@@ -549,6 +549,7 @@ const checkPortValid = () => {
}
port.hostPort = port.host.substring(port.host.lastIndexOf(':') + 1);
} else {
port.hostIP = '';
port.hostPort = port.host;
}
if (port.hostPort.indexOf('-') !== -1) {