fix: 修复批量缩略图生成器白屏问题和屏幕适配权限错误
- 启用批量缩略图生成器路由,取消注释导入和路由配置
- 添加窗口大小调整相关权限到 Tauri capabilities 配置
- 修复屏幕适配服务的权限问题,添加 core🪟allow-set-size 等权限
- 解决批量缩略图生成器页面无法访问的白屏问题
|
|
@ -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",
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
|
@ -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>
|
||||
|
|
|
|||