7 Commits
Author SHA1 Message Date
jinghui e17b78cd19 fix(v1.4.3): 视频编辑/AI视频补鉴权头修复[object Object] + 侧栏「全部图片」改「全部」
- VideoEditModal /api/video/edit、AIVideoModal /api/video/aigenerate+task轮询均裸fetch未带Authorization,后端/api全组401 → 补token头
- 错误信息经errText()解析(对象取message兜底状态码),不再显示[object Object]
- MergeCollage拼图找相似接口同样缺token,一并修复
- Sidebar首项文案「全部图片」→「全部」
- 版本4处升v1.4.3
2026-11-18 17:37:06 +08:00
jinghui f07cf7a266 docs: docker run 示例补齐我的文档目录挂载(与compose三挂载对齐) 2026-11-18 16:25:04 +08:00
jinghui 0bbf14f194 fix(v1.4.2): 挂载发布归档目录并中文化路径报错 — compose补挂/vol2视频目录;LibraryService两处Path does not exist改为中文可操作提示(指路volumes挂载);版本4处升v1.4.2 2026-11-18 16:20:52 +08:00
jinghui 87cc9c00a5 fix(v1.4.1): 页面标题改为「牛仔库 - 素材库管理」(去掉『图片』) 2026-11-18 14:16:31 +08:00
jinghui 1775ababf6 feat(v1.4.1): 品牌更名「牛仔库」(原牛图/FlyPic)— title/登录页/顶栏/设置-关于/导出文件名/后端提示/启动日志全同步;README附更名说明;版本字面量4处升v1.4.1 2026-11-18 13:34:02 +08:00
jinghui 03fb69f892 fix: 平铺库(无子文件夹)直接进瀑布视图 — 修复进入库后误显'素材库似乎是空的'且无法浏览图片
- useImageStore: 新增 foldersLoaded 标记,区分「文件夹加载中」与「确认无子文件夹」
- MainContent: 早退/渲染分支加条件 — folders 加载完成且为空时不再停 Dashboard,直接请求全部图片
- App: scan 回调 images=null 不再清空已显示图片
- Dashboard: 空文案按 totalImageCount 分流(有图时不再误报空库)
2026-11-18 12:47:26 +08:00
jinghui a365c4ce42 fix(v1.4.0): 版本徽标统一1.4.0 — hub.js/Header/SettingsModal fallback + compose显式SITE_VERSION(原容器无env显示v1.2.0) 2026-11-18 12:15:30 +08:00
20 changed files with 89 additions and 35 deletions

No files matched your search

+16
View File
@@ -1,5 +1,21 @@
# 更新日志
## 2026-11-18 → v1.4.3
**优化**:侧栏首项文案「全部图片」改为「全部」(`Sidebar.jsx`)。
**修复:视频编辑/AI 生成视频点「开始处理」报 `[object Object]`、功能完全不可用**——根因是两处裸 `fetch` 调用没带登录态:`VideoEditModal.jsx`(`/api/video/edit`)与 `AIVideoModal.jsx`(`/api/video/aigenerate`、`/api/video/task/:id`)均未附 `Authorization` 头,而后端 `/api` 全组走认证中间件,一律 401 拒绝;前端又把 `{code, message}` 错误对象直接 `new Error()`,对象转字符串就成了 `[object Object]`。修复:三处请求补 `Authorization: `Bearer ${getToken()}`(与图片编辑器等既有调用一致),错误信息统一经 `errText()` 解析(对象取 `message`,再兜底状态码),不再出现 `[object Object]`。另修复 `MergeCollage.jsx` 拼图找相似接口同样的缺 token 问题(历史遗留)。
## 2026-11-18 → v1.4.2
**修复:添加素材库报 `Path does not exist`(视频目录)**——根因是该目录未挂载进容器(容器里看不到宿主机目录)。`docker-compose.yml` 已补挂载 `/vol2/1000/HD2/发布到平台的图片和视频`,README 使用注意新增排查方法(volumes 加一行同路径挂载后 `docker compose up -d`)。后端报错同步中文化:`素材库路径不存在: <路径>(如为宿主机目录,需先在 docker-compose.yml 的 volumes 里挂载进容器再重试)`(创建与更新两处)。
## 2026-11-18 → v1.4.1
**品牌更名**:应用正式更名为「牛仔库」(原名:牛图 / FlyPic 飞图)——页面标题(定为「牛仔库 - 素材库管理」)、登录页、顶栏、设置-关于、导出文件名、后端提示与启动日志全部同步;仓库地址、镜像名、数据目录 `.flypic` 保持不变,README 标题附更名说明。
**修复**:平铺库(无子文件夹)无法浏览图片——误显「素材库似乎是空的」且无法进入瀑布视图。新增 `foldersLoaded` 标记区分「文件夹加载中」与「确认无子文件夹」,无子文件夹的库直接加载全部图片;扫描完成不再清空已显示图片;Dashboard 空文案按 `totalImageCount` 分流(有图时不再误报空库)。
## 2026-11-17 → v1.4.0
视频能力大版本:素材库兼容视频目录、点击弹窗播放、四项常用视频编辑(加/去水印、加/去字幕声音),以及多选图片填标题 + 模型 KEY 后 AI 一键生成带字幕和朗读的成片。
+7 -1
View File
@@ -1,4 +1,6 @@
# FlyPic 飞图(Docker 独立部署版)
# 牛仔库(FlyPic 飞图,Docker 独立部署版)
> **2026-11-18 起正式更名为「牛仔库」**(原名:牛图 / FlyPic 飞图)。仓库地址、镜像名、数据目录 `.flypic` 保持不变。
本仓库是 [ZangXincz/FlyPic](https://github.com/ZangXincz/FlyPic) 的 Docker 化分支(上游已归档停更)。**本文档只介绍本分支修改过的功能与部署方式**,上游原有功能不再重复。
@@ -100,6 +102,7 @@ services:
# 素材库目录(容器内路径与宿主机一致,中文路径直接填,按需增减)
- /vol2/1000/HD2/壁纸:/vol2/1000/HD2/壁纸
- /vol2/1000/HD2/我的文档:/vol2/1000/HD2/我的文档
- /vol2/1000/HD2/发布到平台的图片和视频:/vol2/1000/HD2/发布到平台的图片和视频
# 持久化配置(素材库列表、管理员密码,不用改)
- /vol3/1000/HD3/docker/flypic/config:/root/.flypic
environment:
@@ -140,6 +143,8 @@ docker run -d --name flypic --restart unless-stopped \
-e NODE_ENV=production \
-v /vol3/1000/HD3/docker/flypic/config:/root/.flypic \
-v /vol2/1000/HD2/壁纸:/vol2/1000/HD2/壁纸 \
-v "/vol2/1000/HD2/我的文档:/vol2/1000/HD2/我的文档" \
-v "/vol2/1000/HD2/发布到平台的图片和视频:/vol2/1000/HD2/发布到平台的图片和视频" \
jpccr.ccs.tencentyun.com/jinghui/flypic:latest
```
@@ -150,6 +155,7 @@ docker run -d --name flypic --restart unless-stopped \
## 📝 使用注意
- **添加/更新素材库后需重新扫描**,图片内 OCR 文字才可被搜索到(旧索引无文字数据)——点击右上角**「重新扫描」图标**即可,扫描时会自动补齐历史图片的 OCR 文字索引
- **添加素材库提示 `Path does not exist`** = 该目录没有挂载进容器(容器里看不到宿主机目录)——在 `docker-compose.yml` 的 `volumes` 下加一行 `- /宿主机路径:/宿主机路径`(两边写一样的路径),再 `docker compose up -d`,然后重新添加即可
- 素材库全量 OCR 扫描逐张识别、耗时较长,建议在不用的时候执行
- 数据存储:素材目录下 `.flypic/`(缩略图 + SQLite 索引,含 `ocr_text` 列);应用配置在 `config/`(已 gitignore)
- 删除素材目录下的 `.flypic` 即可清除该库索引,重新扫描重建
+1 -1
View File
@@ -113,7 +113,7 @@ cleanupManager.startRoutineCleanup();
// 启动服务器
server.listen(PORT, () => {
console.log('\n🚀 FlyPic 服务器已启动');
console.log('\n🚀 牛仔库服务器已启动');
console.log(`📡 端口: ${PORT}`);
console.log(`🔌 Socket.IO 就绪`);
if (FRONTEND_DIST) console.log(`📁 前端: ${FRONTEND_DIST}`);
+3 -3
View File
@@ -46,7 +46,7 @@ class LibraryService {
if (!fs.existsSync(normalizedPath)) {
logger.warn(`路径不存在: ${normalizedPath}`);
throw new ValidationError('Path does not exist', 'path');
throw new ValidationError(`素材库路径不存在: ${normalizedPath}(如为宿主机目录,需先在 docker-compose.yml 的 volumes 里挂载进容器再重试)`, 'path');
}
// 检查文件夹访问权限
@@ -57,7 +57,7 @@ class LibraryService {
if (readError.code === 'EACCES' || readError.code === 'EPERM') {
logger.warn(`无访问权限: ${normalizedPath}`);
throw new ValidationError(
'无法访问该文件夹。请在飞牛 fnOS 的"数据共享"中将此文件夹添加到 FlyPic 应用的访问权限。',
'无法访问该文件夹。请在飞牛 fnOS 的"数据共享"中将此文件夹添加到 牛仔库 应用的访问权限。',
'permission'
);
}
@@ -105,7 +105,7 @@ class LibraryService {
// 验证更新的路径是否存在
if (updates.path && !fs.existsSync(updates.path)) {
throw new ValidationError('Path does not exist', 'path');
throw new ValidationError(`素材库路径不存在: ${updates.path}(如为宿主机目录,需先在 docker-compose.yml 的 volumes 里挂载进容器再重试)`, 'path');
}
const success = this.configManager.updateLibrary(id, updates);
+1 -1
View File
@@ -16,7 +16,7 @@ const { getSettings } = require('./settings');
const HUB_URL = (process.env.HUB_URL || 'https://auth.88531.cn/api').replace(/\/+$/, '');
const HUB_PROJECT_ID = process.env.HUB_PROJECT_ID || '';
const HUB_API_KEY = process.env.HUB_API_KEY || '';
const SITE_VERSION = process.env.SITE_VERSION || '1.2.0';
const SITE_VERSION = process.env.SITE_VERSION || '1.4.3';
const TIMEOUT_MS = 8000;
const state = {
+3
View File
@@ -13,6 +13,7 @@ services:
# 素材库目录(容器内路径与飞牛一致,直接填实际路径即可)
- /vol2/1000/HD2/壁纸:/vol2/1000/HD2/壁纸
- /vol2/1000/HD2/我的文档:/vol2/1000/HD2/我的文档
- /vol2/1000/HD2/发布到平台的图片和视频:/vol2/1000/HD2/发布到平台的图片和视频
# 持久化配置(config.json 存储素材库路径、密码等,不用改)
- /vol3/1000/HD3/docker/flypic/config:/root/.flypic
environment:
@@ -26,6 +27,8 @@ services:
- HUB_PROJECT_ID=15
- HUB_API_KEY=${HUB_API_KEY:-}
- NEWAPI_KEY=${NEWAPI_KEY:-}
# 当前站点版本(与 frontend/package.json、CHANGELOG 保持一致,界面版本徽标来源)
- SITE_VERSION=1.4.3
# 让容器经 host.docker.internal 访问宿主机的 AI 侧车
extra_hosts:
- "host.docker.internal:host-gateway"
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>牛图 - 图片素材库管理</title>
<title>牛仔库 - 素材库管理</title>
</head>
<body>
<div id="root"></div>
+4 -2
View File
@@ -137,12 +137,14 @@ function App() {
// 如果没有选中文件夹且没有搜索条件,不加载图片(保持在 Dashboard)
(imageState.selectedFolder || imageState.searchKeywords || imageState.filters.formats.length > 0 || imageState.favoritesView)
? imageAPI.search(libraryId, params)
: Promise.resolve({ images: [] }),
: Promise.resolve({ images: null }), // null = 本次不刷新图片(平铺库由 MainContent 直接加载,避免清空已显示的图片)
// 扫描完成后重新获取统计信息(包含 totalSize)
imageAPI.getStats(libraryId)
]).then(([foldersRes, imagesRes, statsRes]) => {
useImageStore.getState().setFolders(foldersRes.folders);
useImageStore.getState().setImages(imagesRes.images);
if (imagesRes.images) {
useImageStore.getState().setImages(imagesRes.images);
}
useImageStore.getState().setTotalImageCount(statsRes.total || 0);
useImageStore.getState().setTotalSize(statsRes.totalSize || 0);
}).catch(err => {
+16 -3
View File
@@ -6,6 +6,14 @@
import { useEffect, useRef, useState } from 'react';
import { X, Loader2, Film, CheckCircle2, AlertCircle, KeyRound } from 'lucide-react';
import { imageAPI } from '../api';
import { getToken } from '../api/client';
// 后端错误可能为字符串或 {code,message} 对象,统一取可读文本
const errText = (e, fallback) => {
if (!e) return fallback;
if (typeof e === 'string') return e;
return e.message || JSON.stringify(e);
};
const VOICES = [
{ key: 'zh-CN-XiaoxiaoNeural', label: '晓晓(女声·自然)' },
@@ -51,7 +59,9 @@ function AIVideoModal({ libraryId, images, onClose, onDone }) {
if (!taskId) return;
timerRef.current = setInterval(async () => {
try {
const res = await fetch(`/api/video/task/${taskId}`);
const res = await fetch(`/api/video/task/${taskId}`, {
headers: { Authorization: `Bearer ${getToken()}` }
});
if (!res.ok) return;
const data = await res.json();
setTask(data);
@@ -74,7 +84,10 @@ function AIVideoModal({ libraryId, images, onClose, onDone }) {
try {
const res = await fetch('/api/video/aigenerate', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${getToken()}`
},
body: JSON.stringify({
libraryId,
images: list.map((img) => ({ path: img.path })),
@@ -86,7 +99,7 @@ function AIVideoModal({ libraryId, images, onClose, onDone }) {
})
});
const data = await res.json().catch(() => ({}));
if (!res.ok || data.error) throw new Error(data.error || `启动失败 (${res.status})`);
if (!res.ok || data.error) throw new Error(errText(data.error, `启动失败 (${res.status})`));
setTaskId(data.taskId);
} catch (e) {
setError(e.message || '启动失败');
+3 -1
View File
@@ -99,7 +99,9 @@ function Dashboard() {
<Folder className="w-12 h-12 text-secondary mx-auto mb-4" />
<h3 className="text-lg font-medium text-primary mb-2">暂无文件夹</h3>
<p className="text-tertiary max-w-sm mx-auto">
您的素材库似乎是空的。请将图片添加到素材库目录中,系统会自动扫描。
{totalImageCount > 0
? `此素材库的 ${totalImageCount} 张图片没有子文件夹,已在下方瀑布视图中直接显示。`
: '您的素材库似乎是空的。请将图片添加到素材库目录中,系统会自动扫描。'}
</p>
</div>
)}
+3 -3
View File
@@ -38,7 +38,7 @@ function Header() {
// 授权系统 hub:版本 / 公告 / 在线人数
const hub = useHub();
const announcements = hub.announcements || [];
const appVersion = hub.version ? `v${String(hub.version).replace(/^v/, '')}` : 'v1.3.0';
const appVersion = hub.version ? `v${String(hub.version).replace(/^v/, '')}` : 'v1.4.3';
// 从全局 store 获取筛选状态
const selectedFormats = filters.formats || [];
@@ -444,7 +444,7 @@ function Header() {
<header className="border-b border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800">
{/* 顶部栏 */}
<div className="h-14 flex items-center justify-between px-4">
<h1 className="text-lg font-bold text-gray-900 dark:text-white">牛图</h1>
<h1 className="text-lg font-bold text-gray-900 dark:text-white">牛仔库</h1>
<div className="flex items-center gap-2">
<button
@@ -670,7 +670,7 @@ function Header() {
<header className="border-b border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800">
<div className="h-14 flex items-center justify-between px-6">
<div className="flex-shrink-0">
<h1 className="text-xl font-bold text-gray-900 dark:text-white">牛图</h1>
<h1 className="text-xl font-bold text-gray-900 dark:text-white">牛仔库</h1>
<p className="text-xs text-gray-500 dark:text-gray-400">轻量快速的图片素材库管理</p>
</div>
+2 -2
View File
@@ -82,7 +82,7 @@ export default function Login() {
<div className="inline-flex items-center justify-center mb-4">
<img
src="/ICON_256.PNG"
alt="牛图 Logo"
alt="牛仔库 Logo"
className="w-20 h-20 object-contain"
onError={(e) => {
// 如果 ICON_256.PNG 加载失败,尝试 favicon.png
@@ -91,7 +91,7 @@ export default function Login() {
/>
</div>
<h1 className="text-3xl font-bold text-gray-900 dark:text-white mb-2">
牛图
牛仔库
</h1>
<p className="text-gray-600 dark:text-gray-400">
{hasPassword ? '请输入密码访问' : '首次使用,请设置访问密码'}
+5 -5
View File
@@ -15,7 +15,7 @@ const logger = createLogger('MainContent');
function MainContent() {
const { currentLibraryId } = useLibraryStore();
const { searchKeywords, filters, selectedFolder, favoritesView, setImages, setOriginalImages, imageLoadingState, images, refreshTick } = useImageStore();
const { searchKeywords, filters, selectedFolder, favoritesView, setImages, setOriginalImages, imageLoadingState, images, refreshTick, folders, foldersLoaded } = useImageStore();
const { scanProgress } = useScanStore();
// 使用 ref 跟踪最新的请求上下文
@@ -47,8 +47,8 @@ function MainContent() {
const loadImages = useCallback(async (isInitialLoad = true) => {
if (!currentLibraryId) return;
// 如果没有选中文件夹且没有搜索条件,显示 Dashboard(「我的收藏」视图除外)
if (!selectedFolder && !searchKeywords && filters.formats.length === 0 && !favoritesView) {
// 如果没有选中文件夹且没有搜索条件,显示 Dashboard(「我的收藏」视图除外;无子文件夹的平铺库直接进瀑布)
if (!selectedFolder && !searchKeywords && filters.formats.length === 0 && !favoritesView && (!foldersLoaded || folders.length > 0)) {
setImages([]);
useImageStore.getState().setImageLoadingState({
isLoading: false,
@@ -162,7 +162,7 @@ function MainContent() {
clearTimeout(debounceTimerRef.current);
}
};
}, [currentLibraryId, searchKeywords, selectedFolder, favoritesView, refreshTick, loadImages, cancelCurrentRequest]);
}, [currentLibraryId, searchKeywords, selectedFolder, favoritesView, refreshTick, folders, foldersLoaded, loadImages, cancelCurrentRequest]);
// 恢复撤销前的文件夹状态
useEffect(() => {
@@ -233,7 +233,7 @@ function MainContent() {
{/* Content */}
<div className="flex-1 overflow-hidden">
{(!selectedFolder && !searchKeywords && filters.formats.length === 0 && !favoritesView) ? (
{(!selectedFolder && !searchKeywords && filters.formats.length === 0 && !favoritesView && (!foldersLoaded || folders.length > 0)) ? (
<Dashboard />
) : (
<ImageWaterfall />
+1 -1
View File
@@ -221,7 +221,7 @@ export default function MergeCollage({ image, libraryId, onMerge, setStatus, set
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `*** ${getToken()}`
Authorization: `Bearer ${getToken()}`
},
body: JSON.stringify({
libraryId,
+1 -1
View File
@@ -920,7 +920,7 @@ function RightPanel() {
setExportProgress(100);
const link = document.createElement('a');
link.href = URL.createObjectURL(zipBlob);
link.download = `牛图_导出_${imagesToExport.length}张_${Date.now()}.zip`;
link.download = `牛仔库_导出_${imagesToExport.length}张_${Date.now()}.zip`;
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
+3 -3
View File
@@ -2,7 +2,7 @@ import { useState, useEffect } from 'react';
import { X, ScanText, Info, Save, FlaskConical, Github, ExternalLink, Wand2 } from 'lucide-react';
import { settingsAPI } from '../api';
const APP_VERSION = 'v1.3.0';
const APP_VERSION = 'v1.4.3';
const REPO_URL = 'https://gitea.88531.cn/jinghui/flypic';
/**
@@ -403,7 +403,7 @@ export default function SettingsModal({ open, onClose, versionLabel, initialTab
</div>
<div className="flex items-center justify-between py-2 border-b border-gray-100 dark:border-gray-700">
<span className="text-gray-500 dark:text-gray-400">项目名称</span>
<span className="font-medium text-gray-900 dark:text-white">牛图 素材库</span>
<span className="font-medium text-gray-900 dark:text-white">牛仔库</span>
</div>
<div className="flex items-center justify-between py-2">
<span className="text-gray-500 dark:text-gray-400">开源地址</span>
@@ -419,7 +419,7 @@ export default function SettingsModal({ open, onClose, versionLabel, initialTab
</a>
</div>
<p className="text-xs text-gray-400 dark:text-gray-500 pt-2">
牛图(FlyPic)基于 ZangXincz/FlyPic 二次开发,修复多项问题并新增 OCR 图内文字搜索、线上 OCR、授权系统接入等能力。
牛仔库(FlyPic)基于 ZangXincz/FlyPic 二次开发,修复多项问题并新增 OCR 图内文字搜索、线上 OCR、授权系统接入等能力。
</p>
</div>
)}
+3 -3
View File
@@ -994,9 +994,9 @@ function Sidebar() {
'⚠️ 文件夹权限不足\n\n' +
errorMessage + '\n\n' +
'操作步骤:\n' +
'1. 应用中心找到 牛图 应用\n' +
'1. 应用中心找到 牛仔库 应用\n' +
'2. 点击 应用设置\n' +
'3. 将该文件夹添加到 牛图 应用的读写权限'
'3. 将该文件夹添加到 牛仔库 应用的读写权限'
);
} else {
alert('添加素材库失败: ' + errorMessage);
@@ -1718,7 +1718,7 @@ function Sidebar() {
<div className="w-5 mr-1" />
<Folder className="w-4 h-4 mr-2 text-blue-500 flex-shrink-0" />
<span className="text-sm text-gray-700 dark:text-gray-200 font-medium flex-1">
全部图片
全部
</span>
<span className="text-xs text-gray-500 dark:text-gray-300 ml-2">
{totalImageCount}
+13 -2
View File
@@ -6,6 +6,14 @@
import { useState } from 'react';
import { X, Droplets, Eraser, Type, Scissors, Loader2 } from 'lucide-react';
import { imageAPI } from '../api';
import { getToken } from '../api/client';
// 后端错误可能为字符串或 {code,message} 对象,统一取可读文本
const errText = (e, fallback) => {
if (!e) return fallback;
if (typeof e === 'string') return e;
return e.message || JSON.stringify(e);
};
const ACTIONS = [
{ key: 'watermark-add', label: '加水印', icon: Droplets },
@@ -109,11 +117,14 @@ function VideoEditModal({ file, libraryId, onClose, onDone }) {
try {
const res = await fetch('/api/video/edit', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${getToken()}`
},
body: JSON.stringify({ libraryId, path: file.path, action, options, output: outputMode })
});
const data = await res.json().catch(() => ({}));
if (!res.ok || data.error) throw new Error(data.error || `处理失败 (${res.status})`);
if (!res.ok || data.error) throw new Error(errText(data.error, `处理失败 (${res.status})`));
onDone && onDone(data.path);
onClose();
} catch (e) {
+2 -1
View File
@@ -15,6 +15,7 @@ export const useImageStore = create((set, get) => ({
// 文件夹
folders: [],
foldersLoaded: false, // folders 是否已完成首次加载(区分「加载中」与「确认无文件夹」)
selectedFolder: null, // 当前浏览的文件夹路径
selectedFolderItem: null, // 选中的文件夹对象(用于显示详情、操作等)
@@ -82,7 +83,7 @@ export const useImageStore = create((set, get) => ({
clearSelection: () => set({ selectedImages: [], selectedImage: null, selectedFolderItem: null }),
// 文件夹操作
setFolders: (folders) => set({ folders }),
setFolders: (folders) => set({ folders, foldersLoaded: true }),
setSelectedFolder: (folder) => set((state) => ({
selectedFolder: folder,
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* 牛图(FlyPic)前端日志系统
* 牛仔库(FlyPic)前端日志系统
* 专注于用户操作和UI交互日志
*
* 日志分类: