Commit 4f33238f authored by linxin's avatar linxin

修复自动换行

parent 96eb6450
......@@ -784,8 +784,7 @@ export default {
}
},
addRowsLive (e) {
// let addNum = parseInt(e.length / 16)
let addNum = e.size()
let addNum = parseInt(e.length / 16)
console.log(addNum)
if (addNum === 0) {
this.$refs.myTestareaLive.rows = 1
......
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