🎈gblog, an open-source, simple and beautiful blog built with Astro
Home Page:https://godruoyi.com
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
cnxfire opened this issue 6 years ago · comments
感谢您的反馈,目前也修复。主要是 vue-router 的组件复用问题
vue-router
beforeRouteUpdate: function (to, from, next) { this.$route.params.slug = to.params.slug this.fetchPost() next() },