|
|
|
@ -67,7 +67,8 @@ export class DriverSelectorModel extends Model {
|
|
|
|
|
this.model.customDriver.driver = driver; |
|
|
|
|
|
|
|
|
|
this.model.customDrivers.some(customDriver => { |
|
|
|
|
if (customDriver.driverClass === driver) { |
|
|
|
|
// DEC-21469 存在driver值相同但driver名不同的场景,因此要用拼接名判断
|
|
|
|
|
if (`${customDriver.driverClass} (${customDriver.name})` === value) { |
|
|
|
|
this.model.driverSource = customDriver.name; |
|
|
|
|
this.model.customDriver.value = `${driver} (${customDriver.name})`; |
|
|
|
|
|
|
|
|
|