From 06adedc56f17ef5e53292bb1bbcf930748f4f99f Mon Sep 17 00:00:00 2001 From: mutoe Date: Wed, 26 Sep 2018 17:11:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(group):=20(#518)=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9C=88=E5=AD=90=E5=A4=96=E5=8F=91=E5=B8=96=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/group/GroupPostCreate.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page/group/GroupPostCreate.vue b/src/page/group/GroupPostCreate.vue index bceb32cc..1531b47d 100644 --- a/src/page/group/GroupPostCreate.vue +++ b/src/page/group/GroupPostCreate.vue @@ -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 }); @@ -121,7 +121,7 @@ export default { }; -