mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 21:47:22 +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:
parent
65c71c2e5b
commit
e0fc40f74a
@ -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()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user