修复快速点击like会like多个bug

This commit is contained in:
X1627315083
2025-12-30 16:07:15 +08:00
parent 2903553088
commit e09c01cb7d
3 changed files with 22 additions and 2 deletions

View File

@@ -697,6 +697,7 @@ export default defineComponent({
emit('unLike', item)
}
}
store.commit('set_loading', true)
Https.axiosPost(url, data)
.then(rv => {
if (str == 'like') {
@@ -728,8 +729,11 @@ export default defineComponent({
store.commit('setRelightList', value)
}
}
store.commit('set_loading', false)
})
.catch(res => {})
.catch(res => {
store.commit('set_loading', false)
})
}
let remPrductimgTime: any = null
let prductimgTime: any = null