mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-18 22:22:59 +08:00
fix: 解决容器编辑时删除暴露端口 IP 不生效的问题 (#3193)
This commit is contained in:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user