点击评论框后,直接弹出键盘

This commit is contained in:
范强强
2023-06-20 11:54:04 +08:00
parent 021c10a116
commit 1a819c836f
@@ -157,8 +157,8 @@
commentQuery: {}, commentQuery: {},
sendDisplay: true, sendDisplay: true,
num: 1, num: 1,
userInfoQuery:{}, userInfoQuery: {},
administrators:false, administrators: false
} }
}, },
mounted() { mounted() {
@@ -194,9 +194,9 @@
}, },
methods: { methods: {
...mapGetters(['userInfo']), ...mapGetters(['userInfo']),
scrolling() { // scrolling() {
this.isDisplay = false // this.isDisplay = false
}, // },
handleonmousedown(e) { handleonmousedown(e) {
if (e.srcElement.type == 'textarea' || e.target.type == 'textarea') { if (e.srcElement.type == 'textarea' || e.target.type == 'textarea') {