Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
4b83445624
@ -139,7 +139,7 @@ export default {
|
|||||||
this.field = field === this.field ? '' : field;
|
this.field = field === this.field ? '' : field;
|
||||||
},
|
},
|
||||||
clickEvent(em) {
|
clickEvent(em) {
|
||||||
if (this.field.toUpperCase() === 'selectDevice'.toUpperCase()) {
|
if (this.field.toUpperCase() === 'selectDevice'.toUpperCase() && !this.formModel.deviceIds.includes(em.deviceCode)) {
|
||||||
const device = this.getDeviceByEm(em);
|
const device = this.getDeviceByEm(em);
|
||||||
this.formModel.deviceIds.push(device.code);
|
this.formModel.deviceIds.push(device.code);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user