mirror of
https://github.com/TangSengDaoDao/TangSengDaoDaoWeb
synced 2025-06-04 08:08:44 +00:00
fix: 修复表情报错
This commit is contained in:
parent
7e43173022
commit
eeaa7a179a
@ -110,11 +110,13 @@ export class EmojiPanel extends Component<EmojiPanelProps, EmojiPanelState> {
|
|||||||
this.setState({
|
this.setState({
|
||||||
emojis: this.emojiService.getAllEmoji()
|
emojis: this.emojiService.getAllEmoji()
|
||||||
})
|
})
|
||||||
this.requestStickerCategory()
|
// 获取表情
|
||||||
|
// this.requestStickerCategory()
|
||||||
}
|
}
|
||||||
|
|
||||||
requestStickerCategory() {
|
requestStickerCategory() {
|
||||||
if (!stickerCategories || stickerCategories.length === 0) {
|
if (!stickerCategories || stickerCategories.length === 0) {
|
||||||
|
console.log('====',stickerCategories)
|
||||||
WKApp.dataSource.commonDataSource.userStickerCategory().then((result) => {
|
WKApp.dataSource.commonDataSource.userStickerCategory().then((result) => {
|
||||||
stickerCategories = result
|
stickerCategories = result
|
||||||
this.setState({})
|
this.setState({})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user