标签:ret new regexp 符号 turn lse toast return 判断
let reg = new RegExp(/\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f]|\ud83d[\ude80-\udeff]/) if (reg.test(val)) { tip = ‘不能输入表情符号‘ Vue.$vux.toast.text(tip) return false }
标签:ret new regexp 符号 turn lse toast return 判断
原文地址:https://www.cnblogs.com/wpp281154/p/11356525.html