From d48aca89a4289bdea809c625bbe25f9741f3dac0 Mon Sep 17 00:00:00 2001 From: xusongfu Date: Mon, 19 Dec 2022 18:52:28 +0800 Subject: [PATCH] fix: reset the subnet list when create cluster instance the subnet list was not changed when the fixed network changed, fix the update context to solve this problem Change-Id: I2882a63e58c5b2843b9c8e6070b6708d16c40b94 --- .../Clusters/actions/StepCreate/StepNetworks/index.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/container-infra/containers/Clusters/actions/StepCreate/StepNetworks/index.jsx b/src/pages/container-infra/containers/Clusters/actions/StepCreate/StepNetworks/index.jsx index 3bb5566d..da56bb11 100644 --- a/src/pages/container-infra/containers/Clusters/actions/StepCreate/StepNetworks/index.jsx +++ b/src/pages/container-infra/containers/Clusters/actions/StepCreate/StepNetworks/index.jsx @@ -164,8 +164,6 @@ export class StepNetworks extends Base { onChange: (value) => { this.updateContext({ fixedNetwork: value, - }); - this.updateContext({ fixedSubnet: { selectedRowKeys: [], selectedRows: [],