mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-14 01:17:26 +08:00
fix: 解决容器编辑时删除暴露端口 IP 不生效的问题 (#3193)
This commit is contained in:
parent
d79814ff05
commit
b1e4ad9bfc
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue