diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index 49554c699ba..dadecd99419 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -1746,6 +1746,9 @@ export default { } if (!this.serviceOffering.diskofferingstrictness && values.overridediskofferingid) { deployVmData.overridediskofferingid = values.overridediskofferingid + if (values.rootdisksize && values.rootdisksize > 0) { + deployVmData.rootdisksize = values.rootdisksize + } } if (this.isCustomizedIOPS) { deployVmData['details[0].minIops'] = this.minIops diff --git a/ui/src/views/infra/network/ServiceProvidersTab.vue b/ui/src/views/infra/network/ServiceProvidersTab.vue index 7844d75a1c6..d58a004e244 100644 --- a/ui/src/views/infra/network/ServiceProvidersTab.vue +++ b/ui/src/views/infra/network/ServiceProvidersTab.vue @@ -1281,8 +1281,8 @@ export default { } }, setFormRules () { - this.form = {} - this.rules = {} + this.form = reactive({}) + this.rules = reactive({}) this.currentAction.fieldParams.forEach(field => { this.rules[field.name] = [] const rule = {}