mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 22:18:07 +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);
|
port.hostPort = port.host.substring(port.host.lastIndexOf(':') + 1);
|
||||||
} else {
|
} else {
|
||||||
|
port.hostIP = '';
|
||||||
port.hostPort = port.host;
|
port.hostPort = port.host;
|
||||||
}
|
}
|
||||||
if (port.hostPort.indexOf('-') !== -1) {
|
if (port.hostPort.indexOf('-') !== -1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user