管理员维护客户
This commit is contained in:
16
src/App.vue
16
src/App.vue
@@ -30,14 +30,14 @@ export default {
|
||||
// This is the visitor identifier:
|
||||
const visitorId = result.visitorId
|
||||
console.log(visitorId)
|
||||
this.$api.post(this.$api.phpURL + 'api/Verify/index', {code: visitorId}).then(res => {
|
||||
// eslint-disable-next-line eqeqeq
|
||||
if (res.msg == 'false') {
|
||||
// eslint-disable-next-line camelcase
|
||||
alert('访问错误!错误码:' + visitorId)
|
||||
window.location.href = 'http://www.juip.com'
|
||||
}
|
||||
})
|
||||
// this.$api.post(this.$api.phpURL + 'api/Verify/index', {code: visitorId}).then(res => {
|
||||
// // eslint-disable-next-line eqeqeq
|
||||
// if (res.msg == 'false') {
|
||||
// // eslint-disable-next-line camelcase
|
||||
// alert('访问错误!错误码:' + visitorId)
|
||||
// window.location.href = 'http://www.juip.com'
|
||||
// }
|
||||
// })
|
||||
})()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user