Просмотр исходного кода

🎨 style(LogsTable): replace IconForward with Route icon for model redirection

- Remove IconForward import from @douyinfe/semi-icons
- Add Route icon import from lucide-react
- Update model redirection indicator in LogsTable component

The Route icon better represents the concept of model redirection
compared to the generic forward arrow, providing clearer visual
context for users when models are mapped to different upstream models.
Apple\Apple 9 месяцев назад
Родитель
Сommit
936e593a4f
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      web/src/components/table/LogsTable.js

+ 7 - 1
web/src/components/table/LogsTable.js

@@ -47,7 +47,8 @@ import {
 } from '@douyinfe/semi-illustrations';
 import { ITEMS_PER_PAGE } from '../../constants';
 import Paragraph from '@douyinfe/semi-ui/lib/es/typography/paragraph';
-import { IconSetting, IconSearch, IconForward } from '@douyinfe/semi-icons';
+import { IconSetting, IconSearch } from '@douyinfe/semi-icons';
+import { Route } from 'lucide-react';
 
 const { Text } = Typography;
 
@@ -232,6 +233,11 @@ const LogsTable = () => {
                 onClick: (event) => {
                   copyText(event, record.model_name).then((r) => { });
                 },
+                suffixIcon: (
+                  <Route
+                    style={{ width: '0.9em', height: '0.9em', opacity: 0.75 }}
+                  />
+                ),
               })}
             </Popover>
           </Space>