mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-25 15:02: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:
parent
d5c36632f1
commit
181ab6afea
@ -76,6 +76,7 @@
|
|||||||
:currentActiveVMID="activeVMID"
|
:currentActiveVMID="activeVMID"
|
||||||
:currentFormSchema="currentFormSchema"
|
:currentFormSchema="currentFormSchema"
|
||||||
:currentFormData="currentFormData"
|
:currentFormData="currentFormData"
|
||||||
|
ref="ConfigForm"
|
||||||
|
|
||||||
@deleteVM="deleteVM"
|
@deleteVM="deleteVM"
|
||||||
@scenarioConfigFormDataUpdate="scenarioConfigFormDataUpdate"
|
@scenarioConfigFormDataUpdate="scenarioConfigFormDataUpdate"
|
||||||
@ -215,6 +216,7 @@ export default {
|
|||||||
},
|
},
|
||||||
switchTab(tabVMID) {
|
switchTab(tabVMID) {
|
||||||
this.activeVMID = tabVMID;
|
this.activeVMID = tabVMID;
|
||||||
|
this.$refs.ConfigForm.currentFormMode = 'BasicConfigType'
|
||||||
this.updateCurrentFormSchema()
|
this.updateCurrentFormSchema()
|
||||||
this.updateCurrentFormData()
|
this.updateCurrentFormData()
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user