<div ref="InputContainer" contenteditable="true" spellcheck="false" placeholder="文字"></div>
spellcheck 属性规定是否对元素进行拼写和语法检查
css设置placeholder文字的颜色
*[contenteditable="true"]:empty:before {
content: attr(placeholder);
color: #A9A9A9;
}
this.$refs.InputContainer.innerHTML 获取div里的内容