优化UI,修复群BUG

This commit is contained in:
cbb
2026-01-24 16:49:47 +08:00
parent c508b1fcb4
commit a55a1593bb
11 changed files with 555 additions and 445 deletions

View File

@@ -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)
}
}