feat: 调整界面

master
xjs 2025-04-15 16:23:49 +08:00
parent c333297970
commit 6b53487f85
3 changed files with 3 additions and 11 deletions

View File

@ -22,14 +22,6 @@ export const useSignalRConnection = (params: { access_token: string; roomId: str
connectionRef.current = connection;
connection.on('connected', () => {
console.log('Connected to SignalR hub');
});
connection.on('disconnected', () => {
console.log('Disconnected from SignalR hub');
});
connection.on("ForceOffline", function (msg) {
// 可加逻辑:注销用户、跳转登录页等
Message.warning(msg)

View File

@ -74,7 +74,7 @@ function Antechamber() {
getQuestion()
setHasHandledReport(true)
}
},[reportId, isDisable, joining, hasHandledReport, setHasHandledReport])
},[reportId, isDisable, hasHandledReport])
const getToken = async () => {
const queryData = await requestPostMethod(`/api/token`)({roomId,userId:username})

View File

@ -141,8 +141,8 @@
gap: 16px;
background-color: #fff;
padding: 8px 15px;
padding-bottom: calc(var(safe-area-inset-bottom) + 15);
padding-bottom: calc(12px + constant(safe-area-inset-bottom));
padding-bottom: calc(12px + env(safe-area-inset-bottom));
.talkWrapper {
--h: 16px;