mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 03:01:12 +00:00
fix:修复表情包箭头不显示的bug
This commit is contained in:
parent
a38fa4625f
commit
3c7b7e021f
@ -85,7 +85,9 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
this.initData()
|
||||
if(!this.$store.state.windowPortrait){
|
||||
this.onMonitorWheel()
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
type() {
|
||||
@ -127,7 +129,7 @@ export default {
|
||||
showEmojiMenuScrollRightBtn(){
|
||||
const container = this.$refs['chatEmojiMenuRef'];
|
||||
const liWidth = container?.querySelector('li')?.offsetWidth || 48;
|
||||
return this.emojiMenuScrollLeft < this.emoticonData.length * liWidth - 34
|
||||
return this.emojiMenuScrollLeft < this.emoticonData.length * liWidth - (this.$store.state.windowPortrait ? 34 : 0)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user