src/stores/chatRoom.ts
@@ -78,12 +78,16 @@ 知识库: 'ywicon-changyonggongjuzhishisuoyin', 业务场景: 'ywicon-yewu', }; const getSceneGroupList = async () => { const res = await getSectionList(); sceneGroupList.value = res?.groups ?? []; }; /** * 获取全局所有数据 */ export const getAllData = async () => { const res = await getSectionList(); sceneGroupList.value = res?.groups ?? []; getSceneGroupList(); }; //#endregion