watch: {
text(text) {
if( text.indexOf('\n') != -1 ){ //敲了回车键了
var url = this.$http.baseUrl+"/index/prevention?fw=";
var text = this.text;
// console.log(text);
text=text.replace(url,"");
this.text = text;
//this.oen = this.oen + 1;
}
}
},