提交 a0c75af7 编写于 作者: C caoenze

feat(web): 修复标题bug

上级 e7b6122a
55 error Error: Command failed with exit code 128: git push --follow-tags --no-verify --atomic origin master
55 error fatal: unable to access 'https://github.com/didi/DoraemonKit.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
55 error at makeError (/Users/didi/Desktop/DoKit/DoraemonKit/Web/node_modules/execa/lib/error.js:59:11)
55 error at handlePromise (/Users/didi/Desktop/DoKit/DoraemonKit/Web/node_modules/execa/index.js:114:26)
......@@ -23,7 +23,7 @@ export default {
return this.$route.component
},
title(){
return this.$route.title || 'DoKit'
return this.$route.meta && this.$route.meta.title || 'DoKit'
},
canBack(){
return this.$route.name !== 'home'
......
......@@ -61,6 +61,7 @@ export default {
text-align: right;
width: 60px;
margin-top: 4px;
font-size: 16px;
}
.important {
color: red;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册