Commit 4f33238f authored by linxin's avatar linxin

修复自动换行

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