Commit 2859f2cb by 姜雷

Merge branch 'develop' into 'test'

修改顶部标题显示页面标题 See merge request !23
parents 3f907177 66ddf88d
<template>
<div id="app">
<app-layout v-if="isInnerPage">
<app-layout
v-if="isInnerPage"
:title="title"
>
<div
class="AppTopBar"
slot="title"
......@@ -67,6 +70,7 @@ export default {
},
data() {
return {
title: '',
selectedRoute: [],
routerDone: false,
isInnerPage: true,
......@@ -86,6 +90,7 @@ export default {
} else {
this.showComponents();
}
this.title = document.title;
},
watch: {
$route(newVal) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment