mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-13 13:56:19 +00:00
config-tools: add alert for non-exist file
Add alert when importing an non-exist scenario file Tracked-On: #7413 Signed-off-by: Conghui <conghui.chen@intel.com>
This commit is contained in:
parent
599894e571
commit
9669cc1c58
@ -76,9 +76,10 @@ export default {
|
||||
console.log(scenarioConfig)
|
||||
this.$emit('scenarioUpdate', scenarioConfig['acrn-config'])
|
||||
alert(`Scenario ${this.currentSelectedScenario} loaded success!`)
|
||||
}).catch((err) => {
|
||||
console.log(err)
|
||||
alert(`Failed to open ${this.currentSelectedScenario}, file may not exist`)
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
openScenarioFileSelectDialog() {
|
||||
|
Loading…
Reference in New Issue
Block a user