diff --git a/web/pages/ToolLibrary.tsx b/web/pages/ToolLibrary.tsx
index 324e683..7665f9b 100644
--- a/web/pages/ToolLibrary.tsx
+++ b/web/pages/ToolLibrary.tsx
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
-import { Search, Filter, Plus, Wrench, Terminal, Globe, Camera, CameraOff, Image, Images, CloudSun, Calendar, TrendingUp, Coins, Trash2, Edit2, Box } from 'lucide-react';
+import { Search, Filter, Plus, Wrench, Terminal, Globe, Camera, CameraOff, Image, Images, CloudSun, Calendar, TrendingUp, Coins, Trash2, Edit2, Box, Lock } from 'lucide-react';
import { Button, Input, Badge, Dialog } from '../components/UI';
import { Tool } from '../types';
import { createTool, deleteTool, fetchTools, updateTool } from '../services/backendApi';
@@ -168,8 +168,9 @@ export const ToolLibraryPage: React.FC = () => {
{!isLoading && filteredTools.map((tool) => (
+
{iconMap[tool.icon] || }
@@ -190,27 +191,45 @@ export const ToolLibraryPage: React.FC = () => {
{tool.description}
+
-
- {!tool.isSystem && (
+
+ {tool.isSystem ? (
+
+ 系统工具只读
+
+ ) : (
+
可编辑自定义工具
+ )}
+
- )}
- {!tool.isSystem && (
- )}
+
))}