Compare commits
2 Commits
7edc2f3134
...
13f2ecc1c9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13f2ecc1c9 | ||
|
|
9d061975ab |
@@ -256,8 +256,10 @@ async function loginWithKey(key, surfaceError = true) {
|
|||||||
localStorage.removeItem(MODEL_STORAGE);
|
localStorage.removeItem(MODEL_STORAGE);
|
||||||
localStorage.removeItem(ACCESS_KEY_STORAGE);
|
localStorage.removeItem(ACCESS_KEY_STORAGE);
|
||||||
renderModelDropdown();
|
renderModelDropdown();
|
||||||
if (surfaceError) setLoginError(error.message || '登录失败');
|
if (surfaceError) {
|
||||||
showLogin();
|
setLoginError(error.message || '登录失败');
|
||||||
|
showLogin();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -587,7 +587,8 @@ body.theme-light .md-pre { background: #f3f4f6; border-color: rgba(15,23,42,.08)
|
|||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
grid-template-rows: auto minmax(0, 1fr) auto;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.topbar {
|
.topbar {
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
@@ -623,6 +624,8 @@ body.theme-light .md-pre { background: #f3f4f6; border-color: rgba(15,23,42,.08)
|
|||||||
|
|
||||||
.messages {
|
.messages {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
flex: 1 1 0;
|
||||||
|
min-height: 0;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
.empty-state,
|
.empty-state,
|
||||||
|
|||||||
Reference in New Issue
Block a user