refactor: fixed bug where the video does not shrink when commenting
This commit is contained in:
parent
7c5bdc9883
commit
e8d0b46f5e
@ -217,7 +217,10 @@ onMounted(() => {
|
||||
state.loading = true
|
||||
}
|
||||
}
|
||||
console.log(e, t)
|
||||
let s = false
|
||||
if (s) {
|
||||
console.log(e, t)
|
||||
}
|
||||
},
|
||||
false
|
||||
)
|
||||
|
||||
@ -20,7 +20,7 @@ const item = inject<any>('item')
|
||||
const emit = defineEmits(['update:item', 'goUserInfo', 'showComments', 'showShare', 'goMusic'])
|
||||
|
||||
function loved() {
|
||||
_updateItem(props, 'isLoved', !item.isLoved, emit)
|
||||
_updateItem(props, 'isLoved', !item.value.isLoved, emit)
|
||||
}
|
||||
|
||||
function attention(e) {
|
||||
@ -31,7 +31,7 @@ function attention(e) {
|
||||
}
|
||||
|
||||
function showComments() {
|
||||
bus.emit(EVENT_KEY.OPEN_COMMENTS, item.aweme_id)
|
||||
bus.emit(EVENT_KEY.OPEN_COMMENTS, item.value.aweme_id)
|
||||
}
|
||||
|
||||
const vClick = useClick()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user