Commit 5eeef210 by 岑成威

fix: 限制表情输入

1 parent 975cc7e5
......@@ -226,6 +226,7 @@ Page({
},
input(e) {
let { value } = e.detail
value = wx.$util.replaceEmoji(value)
this.setData({
keyword: value
})
......
......@@ -150,6 +150,7 @@ Page({
},
input(e) {
let { value } = e.detail
value = wx.$util.replaceEmoji(value)
this.setData({
keyword: value
})
......
......@@ -178,6 +178,7 @@ Page({
},
input(e) {
let { value } = e.detail
value = wx.$util.replaceEmoji(value)
this.setData({
keyword: value
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!