Appearance
hasEmoji Emoji 判断
javascript
//判断是否包含emoji表情
import { getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
let hasEmoji = proxy.$util.hasEmoji(String);
1
2
3
4
2
3
4