feat: 清空sceneId,分身二次进入展示默认的
This commit is contained in:
@@ -430,12 +430,12 @@ const getMainPageData = async () => {
|
||||
const res = await mainPageData({ sceneId });
|
||||
|
||||
if (res.code === 0) {
|
||||
appStore.setSceneId("");
|
||||
initData();
|
||||
mainPageDataModel.value = res.data;
|
||||
agentId.value = res.data.agentId;
|
||||
setTimeoutScrollToBottom();
|
||||
}
|
||||
appStore.setSceneId(""); // 清空sceneId,分身二次进入展示默认的
|
||||
};
|
||||
|
||||
/// =============对话↓================
|
||||
|
||||
Reference in New Issue
Block a user