feat: 按配置获取主体信息
This commit is contained in:
@@ -181,9 +181,9 @@ import {
|
||||
import WebSocketManager from "@/utils/WebSocketManager";
|
||||
import TypewriterManager from "@/utils/TypewriterManager";
|
||||
import { IdUtils } from "@/utils";
|
||||
import { goLogin, checkToken } from "@/hooks/useGoLogin";
|
||||
|
||||
import { checkToken } from "@/hooks/useGoLogin";
|
||||
import { useAppStore } from "@/store";
|
||||
|
||||
const appStore = useAppStore();
|
||||
/// 导航栏相关
|
||||
const statusBarHeight = ref(20);
|
||||
@@ -433,7 +433,8 @@ const loadConversationMsgList = async () => {
|
||||
const getMainPageData = async () => {
|
||||
/// 从个渠道获取如二维,没有的时候就返回首页的数据
|
||||
const sceneId = appStore.sceneId || "";
|
||||
const res = await mainPageData(sceneId);
|
||||
const res = await mainPageData({ sceneId });
|
||||
|
||||
if (res.code === 0) {
|
||||
initData();
|
||||
mainPageDataModel.value = res.data;
|
||||
|
||||
Reference in New Issue
Block a user