feat: 调整界面
parent
c333297970
commit
6b53487f85
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue