no message
This commit is contained in:
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -1,4 +1,4 @@
|
|||||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/favicon.ico"><title>港校租房</title><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/chunk-vendors.e0e9f2f6.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/app.7ee9873d.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/chunk-vendors.7885d77e.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/app.5f4c7662.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but zufang doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div style="display:none;"><script src="//v1.cnzz.com/z_stat.php?id=1281224882&web_id=1281224882"></script><script>var _hmt = _hmt || [];
|
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/favicon.ico"><title>港校租房</title><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/chunk-vendors.e0e9f2f6.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/app.bf4f89da.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/chunk-vendors.7885d77e.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/app.5f4c7662.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but zufang doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div style="display:none;"><script src="//v1.cnzz.com/z_stat.php?id=1281224882&web_id=1281224882"></script><script>var _hmt = _hmt || [];
|
||||||
(function () {
|
(function () {
|
||||||
var hm = document.createElement("script");
|
var hm = document.createElement("script");
|
||||||
hm.src = "//hm.baidu.com/hm.js?4bd66cbe45a640b607fe46c48f658746";
|
hm.src = "//hm.baidu.com/hm.js?4bd66cbe45a640b607fe46c48f658746";
|
||||||
|
|||||||
1
dist/js/app.7ee9873d.js
vendored
1
dist/js/app.7ee9873d.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/app.bf4f89da.js
vendored
Normal file
1
dist/js/app.bf4f89da.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -121,7 +121,8 @@ const routes = [
|
|||||||
|
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(process.env.BASE_URL),
|
// history: createWebHistory(process.env.BASE_URL),
|
||||||
|
history: createWebHistory(),
|
||||||
mode: "history",
|
mode: "history",
|
||||||
routes,
|
routes,
|
||||||
scrollBehavior(to, from, savedPosition) {
|
scrollBehavior(to, from, savedPosition) {
|
||||||
@@ -143,19 +144,19 @@ router.beforeEach((to, from, next) => {
|
|||||||
|
|
||||||
|
|
||||||
if (window._hmt) {
|
if (window._hmt) {
|
||||||
if (to.path) {
|
if (to.path) {
|
||||||
// window._hmt.push(['_trackPageview', '/#' + to.fullPath])
|
// window._hmt.push(['_trackPageview', '/#' + to.fullPath])
|
||||||
window._hmt.push(['_trackPageview', to.fullPath])
|
window._hmt.push(['_trackPageview', to.fullPath])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window._czc) {
|
if (window._czc) {
|
||||||
let location = window.location
|
let location = window.location
|
||||||
let contentUrl = location.pathname + location.hash
|
let contentUrl = location.pathname + location.hash
|
||||||
let refererUrl = "/"
|
let refererUrl = "/"
|
||||||
// 用于发送某个URL的PV统计请求
|
// 用于发送某个URL的PV统计请求
|
||||||
window._czc.push(["_trackPageview", contentUrl, refererUrl])
|
window._czc.push(["_trackPageview", contentUrl, refererUrl])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
router.afterEach(() => {
|
router.afterEach(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user