添加聊天

This commit is contained in:
bobobobo
2025-12-30 23:28:59 +08:00
parent d0cf491201
commit 2294b3b76e
450 changed files with 37066 additions and 96 deletions

View File

@@ -0,0 +1,8 @@
import { TUIStore, StoreName } from "@tencentcloud/chat-uikit-engine-lite";
export function enableSampleTaskStatus(taskKey: string) {
const tasks = TUIStore.getData(StoreName.APP, "tasks");
if (taskKey in tasks && !tasks[taskKey]) {
tasks[taskKey] = true;
TUIStore.update(StoreName.APP, "tasks", tasks);
}
}