修改需求
This commit is contained in:
@@ -92,6 +92,13 @@ export default {
|
||||
}
|
||||
crudProduceScreen.deviceInLogin({ device_code: this.value }).then(res => {
|
||||
res.username = this.username
|
||||
let in_code = ''
|
||||
res.region_points.map(el => {
|
||||
if (el.type === '0') {
|
||||
in_code = el.device_code
|
||||
}
|
||||
})
|
||||
res.in_code = in_code
|
||||
this.$store.dispatch('addScreenData', JSON.stringify(res))
|
||||
this.show = false
|
||||
this.disabled = false
|
||||
|
||||
Reference in New Issue
Block a user