Commit 8f18fb3d by 张超军

ip验证加上

parent eb27d94b
......@@ -1430,25 +1430,25 @@ export default {
this.errTitle = 'IP校验'
this.errDescription = '正在校验IP中。。。'
// let machineRes = await axios({
// url: '/apiMachine/checkClientVp',
// method: 'post',
// params: {
// ip: self.ip,
// sbbh: self.iBversion.deviceSN,
// sblx: 1
// }
// })
let machineRes = await axios({
url: '/apiMachine/checkClientVp',
method: 'post',
params: {
ip: self.ip,
sbbh: self.iBversion.deviceSN,
sblx: 1
}
})
//console.log(machineRes);
// if (machineRes.data.success) {
if (true) {
if (machineRes.data.success) {
// if (true) {
this.pop = false
this.isAlter = false
this.errTitle = ''
this.errDescription = ''
// 发送服务器成功
NProgress.done();
// this.getPersonInfo()
this.getPersonInfo()
} else {
this.pop = true
this.isAlter = true
......
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