优化UI,修复群BUG
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { TUIStore, StoreName } from "@tencentcloud/chat-uikit-engine-lite";
|
||||
import { TUIStore, StoreName } from '@tencentcloud/chat-uikit-engine-lite'
|
||||
export function enableSampleTaskStatus(taskKey: string) {
|
||||
const tasks = TUIStore.getData(StoreName.APP, "tasks");
|
||||
const tasks = TUIStore.getData(StoreName.APP, 'tasks')
|
||||
if (taskKey in tasks && !tasks[taskKey]) {
|
||||
tasks[taskKey] = true;
|
||||
TUIStore.update(StoreName.APP, "tasks", tasks);
|
||||
tasks[taskKey] = true
|
||||
TUIStore.update(StoreName.APP, 'tasks', tasks)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user