Commit cb3f4d7b authored by yun's avatar yun

回复试验

parent b9a3e495
...@@ -696,14 +696,10 @@ export default { ...@@ -696,14 +696,10 @@ export default {
}, },
// 回复点击 // 回复点击
textareaHeightBiggerRe(type, replyName) { textareaHeightBiggerRe(type, replyName) {
const input = document.getElementById('discussInput'), const input = document.getElementById('discussInput')
focusBtn = document.getElementById('btnFocus2')
this.discussType = type this.discussType = type
this.discussPlaceHloder = '回复@' + replyName this.discussPlaceHloder = '回复@' + replyName
focusBtn.addEventListener('click', function() { input.focus()
input.focus()
})
focusBtn.click()
}, },
textareaHeightSmaller() { textareaHeightSmaller() {
if (this.commentContent.trim() === '') { if (this.commentContent.trim() === '') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment