diff --git a/src/App.vue b/src/App.vue index 47bf75f..2b1be6b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,16 +20,15 @@ export default { watch: { $route(to, from) { let centerNo = localStorage.getItem('centerNo') - if(centerNo){ - console.log('zheliban hasUserId》》》 ', to, from) + if (centerNo) { + console.log('zheliban hasUserId》》》 ', to, from) this.$zwlogPvGlobal({ url: to.meta.pagePath, enterPageTime: new Date() }) this.$zwlogPvGlobal({ url: from.meta.pagePath, leavePageTime: new Date(), }) - - }else{ - console.log('zheliban noUserId》》》 ', to, from) + } else { + console.log('zheliban noUserId》》》 ', to, from) } }, }, @@ -52,7 +51,8 @@ export default { }) }) // 健康地址调用 - this.yxAxios.get(`https://ocp.sxsedu.net/szsh/health/checkSx`).then((res) => { + // this.yxAxios.get(`https://proxy.shunzhi.net/achieve/healthCheckSXYX`).then((res) => { + this.yxAxios.get(`https://ocp.sxsedu.net/szsh/health/checkSx`).then((res) => { console.log('健康地址:', JSON.stringify(res.data)) const bodyElement = document.getElementsByTagName('body')[0] bodyElement.append(JSON.stringify(res.data)) -- libgit2 0.21.0