Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix(group): (#518) 修复圈子外发帖时报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Sep 26, 2018
1 parent fc01ecf commit 06adedc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/page/group/GroupPostCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default {
this.group = this.$store.state.group.current;
// 如果没有读到, 去远端拉取
if (!this.group.id)
if (!this.group.id && this.groupId)
this.group = await this.$store.dispatch("group/getGroupById", {
groupId: this.groupId
});
Expand All @@ -121,7 +121,7 @@ export default {
};
</script>

<style lang="less">
<style lang="less" scoped>
.p-group-post-create {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 06adedc

Please sign in to comment.