feat: 去掉了原来的欢迎栏
This commit is contained in:
@@ -35,13 +35,7 @@
|
||||
@scroll="handleScroll"
|
||||
@scrolltolower="handleScrollToLower"
|
||||
>
|
||||
<!-- welcome栏 -->
|
||||
<!-- <ChatTopWelcome ref="welcomeRef" :mainPageDataModel="mainPageDataModel" />
|
||||
<NoticeMessage
|
||||
v-if="notitceConent"
|
||||
:noticeContent="notitceConent"
|
||||
></NoticeMessage> -->
|
||||
|
||||
|
||||
<view
|
||||
class="area-msg-list-content"
|
||||
v-for="item in chatMsgList"
|
||||
@@ -250,7 +244,6 @@ const statusBarHeight = ref(20);
|
||||
/// 输入框组件引用
|
||||
const inputAreaRef = ref(null);
|
||||
const topNavBarRef = ref();
|
||||
const welcomeRef = ref();
|
||||
const notitceConent = ref(null);
|
||||
|
||||
const holdKeyboardTimer = ref(null);
|
||||
@@ -537,11 +530,6 @@ const getMainPageData = async () => {
|
||||
initData();
|
||||
mainPageDataModel.value = res.data;
|
||||
agentId.value = res.data.agentId;
|
||||
// 数据更新后再次测量欢迎区高度
|
||||
welcomeRef.value.measureWelcomeHeight((data) => {
|
||||
console.log("🚀 ~ getMainPageData ~ data:", data);
|
||||
welcomeHeight.value = data.height;
|
||||
});
|
||||
}
|
||||
appStore.setSceneId(""); // 清空sceneId,分身二次进入展示默认的
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user