mirror of
https://github.com/TangSengDaoDao/TangSengDaoDaoWeb
synced 2025-06-02 15:23:37 +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({
|
||||
emojis: this.emojiService.getAllEmoji()
|
||||
})
|
||||
this.requestStickerCategory()
|
||||
// 获取表情
|
||||
// this.requestStickerCategory()
|
||||
}
|
||||
|
||||
requestStickerCategory() {
|
||||
if (!stickerCategories || stickerCategories.length === 0) {
|
||||
console.log('====',stickerCategories)
|
||||
WKApp.dataSource.commonDataSource.userStickerCategory().then((result) => {
|
||||
stickerCategories = result
|
||||
this.setState({})
|
||||
|
Loading…
x
Reference in New Issue
Block a user