config_tools: try to fix dirty form data

try to fix dirty form data

Tracked-On: #6691
Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
Weiyi Feng 2022-06-27 10:37:27 +08:00 committed by acrnsi-robot
parent 47337f55f5
commit 8adf40293c
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@
</div>
<div class="p-4">
<ConfigForm
:key="(activeVMID===-1?'HV':`VM${activeVMID}`)+'ConfigForm'"
:currentActiveVMID="activeVMID"
:currentFormSchema="currentFormSchema"
:currentFormData="currentFormData"

View File

@ -30,6 +30,7 @@
are required fields
</div>
<VueForm
:key="(currentActiveVMID===-1?'HV':`VM${currentActiveVMID}`)+currentFormMode+'ConfigForm'"
v-model="currentFormData"
:form-props="formProps"
:ui-schema="uiSchema"