fix: 修复批量缩略图生成器白屏问题和屏幕适配权限错误

- 启用批量缩略图生成器路由,取消注释导入和路由配置
- 添加窗口大小调整相关权限到 Tauri capabilities 配置
- 修复屏幕适配服务的权限问题,添加 core🪟allow-set-size 等权限
- 解决批量缩略图生成器页面无法访问的白屏问题
This commit is contained in:
imeepos 2025-07-24 17:16:47 +08:00
parent 81c16d29e5
commit cf7b11d358
11 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,9 @@
"windows": ["main"],
"permissions": [
"core:default",
"core:window:allow-set-size",
"core:window:allow-set-position",
"core:window:allow-set-resizable",
"opener:default",
"opener:allow-open-path",
"opener:allow-reveal-item-in-dir",

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -18,7 +18,7 @@ import ChatTool from './pages/tools/ChatTool';
import ChatTestPage from './pages/tools/ChatTestPage';
import WatermarkTool from './pages/tools/WatermarkTool';
import SimilaritySearchTool from './pages/tools/SimilaritySearchTool';
// import BatchThumbnailGenerator from './pages/tools/BatchThumbnailGenerator';
import BatchThumbnailGenerator from './pages/tools/BatchThumbnailGenerator';
import Navigation from './components/Navigation';
import { NotificationSystem, useNotifications } from './components/NotificationSystem';
@ -120,7 +120,7 @@ function App() {
<Route path="/tools/chat-test" element={<ChatTestPage />} />
<Route path="/tools/watermark" element={<WatermarkTool />} />
<Route path="/tools/similarity-search" element={<SimilaritySearchTool />} />
{/* <Route path="/tools/batch-thumbnail-generator" element={<BatchThumbnailGenerator />} /> */}
<Route path="/tools/batch-thumbnail-generator" element={<BatchThumbnailGenerator />} />
</Routes>
</div>
</main>