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

This commit is contained in:
ssongliu 2023-12-05 22:24:10 +08:00 committed by GitHub
parent d79814ff05
commit b1e4ad9bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {