提交 ea551cdf 编写于 作者: d-u-a's avatar d-u-a

fix: navigation-bar 非首页某些属性无效的Bug

上级 f3d24b03
...@@ -83,7 +83,8 @@ export default { ...@@ -83,7 +83,8 @@ export default {
} }
}, },
created () { created () {
const page = getCurrentPages()[0] let pages = getCurrentPages()
let page = pages[pages.length - 1]
this.$watch('title', () => { this.$watch('title', () => {
this.setNavigationBarTitle() this.setNavigationBarTitle()
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册