diff --git a/vote-vue/src/components/admin/vote/VoteEdit.vue b/vote-vue/src/components/admin/vote/VoteEdit.vue index dba5ebf..c44142e 100644 --- a/vote-vue/src/components/admin/vote/VoteEdit.vue +++ b/vote-vue/src/components/admin/vote/VoteEdit.vue @@ -182,8 +182,8 @@ content: this.curActivity.content, type: JSON.stringify(this.type), verifyCode: setVerifyCode, - ipRestrict: setIpRestrict, - author: this.$store.state.user.userName + author: this.$store.state.user.userName, + ipRestrict: setIpRestrict }).then(resp => { if (resp && resp.data.code === 200) { this.$store.state.curCreateActivity = []