1. 作用将值赋给data后是不立即更新的。这时候就需要用nextTick对更新后的dom节点做操作
2. 使用this.$nextTick(function () {
console.log(this.$el.textCon
2021-02-12