config-tools: re-rendering the data after importing different board XML

Switch tag in order to trigger the component re-rendering after importing
different board XML.

Tracked-On: #8288
Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
yuchuyang 2022-10-26 15:54:27 -07:00 committed by acrnsi-robot
parent 439fc12246
commit 3bb70efa12

View File

@ -173,6 +173,7 @@ export default {
this.schemas = scenarioJSONSchema this.schemas = scenarioJSONSchema
this.updateCurrentFormSchema() this.updateCurrentFormSchema()
this.updateCurrentBoardInfo() this.updateCurrentBoardInfo()
this.switchTab(-1)
}, },
updateCurrentFormSchema() { updateCurrentFormSchema() {
if (this.activeVMID === -1) { if (this.activeVMID === -1) {