解决内容为空的问题

This commit is contained in:
yi-ge 2020-07-18 22:38:11 +08:00
parent f85dddf4b8
commit 41875a39e8

View File

@ -229,6 +229,15 @@ export default {
}
}
if (this.$route.query.hash) {
this.$nextTick(() => {
setTimeout(() => {
window.location.hash = '#' + this.$route.query.hash
console.log('#' + this.$route.query.hash)
}, 50)
})
}
try {
(adsbygoogle = window.adsbygoogle || []).push({}) // eslint-disable-line
} catch (_) { }