diff --git a/src/components/Forms/Route/RouteRules/RuleForm/index.jsx b/src/components/Forms/Route/RouteRules/RuleForm/index.jsx index f9b644a1046..0c20388e788 100644 --- a/src/components/Forms/Route/RouteRules/RuleForm/index.jsx +++ b/src/components/Forms/Route/RouteRules/RuleForm/index.jsx @@ -108,8 +108,8 @@ export default class RuleForm extends React.Component { const { gateway } = this.props const service = get(data, 'http.paths[0].backend.serviceName') const _host = gateway.isHostName - ? gateway.loadBalancerIngress - : `${service}.${namespace}.${gateway.loadBalancerIngress}.nip.io` + ? gateway.defaultIngress + : `${service}.${namespace}.${gateway.defaultIngress}.nip.io` const namespace = gateway.namespace return host === _host ? 'auto' : 'specify' @@ -164,8 +164,8 @@ export default class RuleForm extends React.Component { ...data, protocol: 'http', host: gateway.isHostName - ? gateway.loadBalancerIngress - : `${service}.${namespace}.${gateway.loadBalancerIngress}.nip.io`, + ? gateway.defaultIngress + : `${service}.${namespace}.${gateway.defaultIngress}.nip.io`, }) } else { onSave(data) diff --git a/src/core/containers/Base/Detail/BaseInfo/Attributes/index.scss b/src/core/containers/Base/Detail/BaseInfo/Attributes/index.scss index 3b10ea540c7..7fa5869164f 100644 --- a/src/core/containers/Base/Detail/BaseInfo/Attributes/index.scss +++ b/src/core/containers/Base/Detail/BaseInfo/Attributes/index.scss @@ -32,8 +32,8 @@ display: block; margin-left: 111px; color: $text-color; - @include break-all; + white-space: pre-wrap; } } } diff --git a/src/pages/clusters/containers/Workload/Routes/index.jsx b/src/pages/clusters/containers/Workload/Routes/index.jsx index a0e1c4b48de..ee2b50b31b8 100644 --- a/src/pages/clusters/containers/Workload/Routes/index.jsx +++ b/src/pages/clusters/containers/Workload/Routes/index.jsx @@ -132,13 +132,7 @@ export default class Routers extends React.Component { dataIndex: 'loadBalancerIngress', isHideable: true, width: '22%', - render: loadBalancerIngress => ( -
{item.ip || item.hostname}
- ))} -