config_tools: bugfix for saving all enum values

fix the issue that saves all enum values are saved in scenario xml file
if user doesn't select any value in configurator.

Tracked-On: #6690
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
This commit is contained in:
Kunhui-Li 2022-05-27 00:11:30 +08:00 committed by acrnsi-robot
parent 5cfc7aa381
commit ef8c092bb0
1 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ export default {
this.defaultVal = []
}
this.defaultVal.push({
"use_type": this.ConsoleUseType,
"backend_type": this.ConsoleBackendType,
"use_type": "",
"backend_type": "",
"output_file_path": "",
"sock_file_path": "",
"tty_device_path": "",