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
This commit is contained in:
xusongfu 2022-12-19 18:52:28 +08:00
parent 7b6e8253a6
commit d48aca89a4

View File

@ -164,8 +164,6 @@ export class StepNetworks extends Base {
onChange: (value) => { onChange: (value) => {
this.updateContext({ this.updateContext({
fixedNetwork: value, fixedNetwork: value,
});
this.updateContext({
fixedSubnet: { fixedSubnet: {
selectedRowKeys: [], selectedRowKeys: [],
selectedRows: [], selectedRows: [],