Commit 6a88d9fe authored by yun's avatar yun

回复试验

parent 709327e0
......@@ -304,8 +304,6 @@
<van-field
:disabled="course.releaseState === '4'"
rows="1.5"
@focus="matterIos()"
@blur="textareaHeightSmaller()"
v-model="commentContent"
id="discussInput"
class="comment-input"
......@@ -698,11 +696,12 @@ export default {
textareaHeightBiggerRe(type, replyName) {
const focusBtn = document.getElementById('btnFocus2')
this.discussType = type
this.discussPlaceHloder = '回复2333@' + replyName
this.discussPlaceHloder = '回复6666@' + replyName
focusBtn.addEventListener('click', function() {
document.getElementById('discussInput').focus()
})
focusBtn.click()
document.getElementById('discussInput').focus()
},
textareaHeightSmaller() {
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