frontend: removed auto count+1 in MkPostForm

This commit is contained in:
fly_mc 2024-11-21 22:01:42 +08:00
parent d194d4e247
commit be80b377cc

View file

@ -916,12 +916,6 @@ async function post(ev?: MouseEvent) {
} }
nextTick(() => { nextTick(() => {
deleteDraft(); deleteDraft();
if (props.reply) {
props.reply.repliesCount = (props.reply.repliesCount || 0) + 1;
}
if (props.quote) {
props.renote.renoteCount = (props.renote.renoteCount || 0) + 1;
}
emit('posted'); emit('posted');
if (postAccount.value != null ? postAccount.value.id : null) { if (postAccount.value != null ? postAccount.value.id : null) {
postAccount.value = null; postAccount.value = null;