提交 42265d40 authored 作者: matian's avatar matian

updates

上级 e1dc9761
......@@ -18,6 +18,24 @@ export default {
const { searchVisible, menuVisible } = this.$store.state
return searchVisible || menuVisible
}
},
mounted() {
pushHistory()
window.addEventListener(
'popstate',
function(e) {
window.location.reload()
},
false
)
function pushHistory() {
var state = {
title: 'title',
url: ''
}
window.history.pushState(state, 'title', '')
}
}
}
</script>
......@@ -79,6 +79,7 @@ import ProjectCard from '@/components/ProjectCard.vue'
export default {
components: { AppLink, ProjectCard },
computed: {
// 个人报名列表
learning() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论