Skip to content

Commit

Permalink
fix: 解决容器编辑时删除暴露端口 IP 不生效的问题 (#3193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu committed Dec 5, 2023
1 parent d79814f commit b1e4ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/views/container/container/operate/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b1e4ad9

Please sign in to comment.