wiki调试修改,增加自研编辑器

This commit is contained in:
暮光:城中城
2020-06-06 15:34:49 +08:00
parent 2d9a5ab6b6
commit 0965f44866
22 changed files with 1501 additions and 525 deletions

View File

@@ -19,8 +19,8 @@ Vue.prototype.$store = store;
const router = new VueRouter({routes});
// 路由跳转时判断处理
router.beforeEach((to, from, next) => {
if (to.meta.title) {
document.title = to.meta.name;
if (to.name) {
document.title = to.name;
}
store.commit('global/setFullscreen', !!to.meta.fullscreen);
next();