in the vue-cli project, replace the emoji emoji with the symbol"- "with the rule, the local operation is normal, and the production environment will not be converted
<el-input type="textarea" class="detailIpt" placeholder="" v-model="replyform.content"></el-input>
let ranges = [
"\ud83c[\udf00-\udfff]",
"\ud83d[\udc00-\ude4f]",
"\ud83d[\ude80-\udeff]"
];
this.replyform.content = this.replyform.content.replace(new RegExp(ranges.join("|"), "g"), "");