浏览代码

Use correct object path (typo)

sbkwgh 8 年之前
父节点
当前提交
4aaad80d0c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -303,7 +303,7 @@
 					this.$store.commit('setForumName', res.data.forumName)
 					this.$store.commit('setForumDescription', res.data.forumDescription)
 
-					this.$store.dispatch('setTitle', this.$store.meta.title)
+					this.$store.dispatch('setTitle', this.$store.state.meta.title)
 				}).catch(err => {
 					if(err.response.data.errors[0].name === 'noSettings') {
 						this.$router.push('/start')