Commit 29adb4f9 authored by June's avatar June

fit:表情

parent fe3ee7f9
......@@ -266,7 +266,7 @@
handleSubmit: debounce(function() {
const form = this.form
form.content = form.content.replace(/\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f]|\ud83d[\ude80-\udeff]/ig, "[表情]")
// form.content = form.content.replace(/\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f]|\ud83d[\ude80-\udeff]/ig, "[表情]")
// console.log(form.content)
const validateErr = this.validateForm(form)
if(validateErr) return this.$toast({title: validateErr})
......
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