Skip to content

Commit 0cd4f82

Browse files
committed
[Fix] Clear Reply content after post successfully
1 parent dc0e449 commit 0cd4f82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/oj/views/forum/Forum.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@
314314
api.submitFourmReply(data).then(res => {
315315
this.submitting = false
316316
this.$success('Success')
317+
this.forumreply.content = ''
317318
this.forumreplys.unshift(res.data.data)
318319
}, () => {
319320
this.submitting = false

0 commit comments

Comments
 (0)