在CONFIG中提高MAX_GENERATED_IMAGES上限至600,并为uploaded-image-card设置最大宽度。

This commit is contained in:
2025-09-04 13:11:40 +08:00
parent 72f9666421
commit f5161f658b
2 changed files with 4 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ const CONFIG = {
MAX_FILES_PER_UPLOAD: 10, // 限制为最多上传10张图片
SUPPORTED_IMAGE_FORMATS: ['image/jpeg', 'image/png', 'image/gif', 'image/webp'],
MAX_CHAT_HISTORY: 50, // 减少聊天历史记录数量以节省存储空间
MAX_GENERATED_IMAGES: 20, // 减少存储的图像数量以防止存储空间溢出
MAX_GENERATED_IMAGES: 600, // 减少存储的图像数量以防止存储空间溢出
STORAGE_KEYS: {
SETTINGS: 'openRouterSettings',
CHAT_HISTORY: 'openRouterChatHistory',

View File

@@ -60,6 +60,9 @@ body {
border: none;
}
.uploaded-image-card{
max-width: 10rem;
}
/* 表单控件样式 */
.form-control, .form-select {
border-radius: 10px;