mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 20:00:13 +00:00
misc: configurator: Switch to basic form after switching VM or HV tabs
Switch to basic form after switching VM or HV tabs to make the basic form default view. Tracked-On: #7712 Signed-off-by: Qiang Zhang <qiang4.zhang@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
d5c36632f1
commit
181ab6afea
@@ -76,6 +76,7 @@
|
||||
:currentActiveVMID="activeVMID"
|
||||
:currentFormSchema="currentFormSchema"
|
||||
:currentFormData="currentFormData"
|
||||
ref="ConfigForm"
|
||||
|
||||
@deleteVM="deleteVM"
|
||||
@scenarioConfigFormDataUpdate="scenarioConfigFormDataUpdate"
|
||||
@@ -215,6 +216,7 @@ export default {
|
||||
},
|
||||
switchTab(tabVMID) {
|
||||
this.activeVMID = tabVMID;
|
||||
this.$refs.ConfigForm.currentFormMode = 'BasicConfigType'
|
||||
this.updateCurrentFormSchema()
|
||||
this.updateCurrentFormData()
|
||||
},
|
||||
|
Reference in New Issue
Block a user