Skip to content

Commit c7889a0

Browse files
committed
bug fix
1 parent d262d4c commit c7889a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/detail/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export default {
149149
});
150150
return;
151151
}
152+
this.isShowReply = false;
152153
this.$ajax({
153154
method: 'POST',
154155
url: `https://cnodejs.org/api/v1/topic/${id}/replies`,
@@ -158,7 +159,6 @@ export default {
158159
},
159160
}).then((res) => {
160161
const { success } = res;
161-
this.isShowReply = false;
162162
if (success) {
163163
wx.showToast({
164164
title: '回复成功',

0 commit comments

Comments
 (0)