Commit eb27d94b by 张超军

解决切换分数时,指位错乱

parent 3ca7ff60
...@@ -1430,25 +1430,25 @@ export default { ...@@ -1430,25 +1430,25 @@ export default {
this.errTitle = 'IP校验' this.errTitle = 'IP校验'
this.errDescription = '正在校验IP中。。。' this.errDescription = '正在校验IP中。。。'
let machineRes = await axios({ // let machineRes = await axios({
url: '/apiMachine/checkClientVp', // url: '/apiMachine/checkClientVp',
method: 'post', // method: 'post',
params: { // params: {
ip: self.ip, // ip: self.ip,
sbbh: self.iBversion.deviceSN, // sbbh: self.iBversion.deviceSN,
sblx: 1 // sblx: 1
} // }
}) // })
//console.log(machineRes); //console.log(machineRes);
if (machineRes.data.success) { // if (machineRes.data.success) {
// if (true) { if (true) {
this.pop = false this.pop = false
this.isAlter = false this.isAlter = false
this.errTitle = '' this.errTitle = ''
this.errDescription = '' this.errDescription = ''
// 发送服务器成功 // 发送服务器成功
NProgress.done(); NProgress.done();
this.getPersonInfo() // this.getPersonInfo()
} else { } else {
this.pop = true this.pop = true
this.isAlter = true this.isAlter = true
...@@ -9011,10 +9011,10 @@ export default { ...@@ -9011,10 +9011,10 @@ export default {
if (item.scoreL >= this.defaultScore) { if (item.scoreL >= this.defaultScore) {
//console.log(item.scoreL) //console.log(item.scoreL)
this.$set(item, 'statusL', 3) this.$set(item, 'statusL', 3)
this.$refs.leftFinger.children[index].setAttribute('src', this.fingerArr[index]) this.$refs.leftFinger.children[index].setAttribute('src', this.fingerArr[index + 5])
} else { } else {
this.$set(item, 'statusL', 2) this.$set(item, 'statusL', 2)
this.$refs.leftFinger.children[index].setAttribute('src', this.fingerArr[index + 10]) this.$refs.leftFinger.children[index].setAttribute('src', this.fingerArr[index + 5 + 10])
//console.log(item.scoreL) //console.log(item.scoreL)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment