From dbf912dd266c8fe75571fcf6f3844028105d9906 Mon Sep 17 00:00:00 2001 From: Lrd <13001933075@sina.cn> Date: Tue, 16 Jun 2026 17:22:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A0=E6=9D=90=E6=89=B9=E9=87=8F=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/AdminOauthAppList.tsx | 16 +-- video-gen-app/src/pages/AuthorizationPage.tsx | 10 +- video-gen-app/src/pages/GeneratedRecord.tsx | 104 +++++++++--------- 3 files changed, 63 insertions(+), 67 deletions(-) diff --git a/video-gen-admin/src/pages/AdminOauthAppList.tsx b/video-gen-admin/src/pages/AdminOauthAppList.tsx index 5e79d181..070b25e9 100644 --- a/video-gen-admin/src/pages/AdminOauthAppList.tsx +++ b/video-gen-admin/src/pages/AdminOauthAppList.tsx @@ -3,7 +3,7 @@ import { Button, Card, Space, Table, Tag, Typography, message, Modal, Form, Input, Select, InputNumber, } from 'antd'; import { - HistoryOutlined, ReloadOutlined, PlusOutlined, EyeOutlined, EditOutlined, DeleteOutlined, + MenuOutlined, ReloadOutlined, PlusOutlined, EyeOutlined, EditOutlined, DeleteOutlined, } from '@ant-design/icons'; import { getOauthAppList, createOauthApp, getOauthApp, updateOauthApp, deleteOauthApp } from '../api'; import { formatDate } from '../utils/formatDate'; @@ -41,7 +41,7 @@ const AdminOauthAppList: React.FC = () => { setApps(res.items || []); setTotal(res.total || 0); } catch { - message.error('加载授权应用列表失败'); + message.error('加载应用管理列表失败'); } finally { setLoading(false); } @@ -119,7 +119,7 @@ const AdminOauthAppList: React.FC = () => { const handleDelete = (id: string) => { Modal.confirm({ title: '确认删除', - content: '确定要删除这个授权应用吗?', + content: '确定要删除这个应用管理吗?', okText: '删除', okType: 'danger', cancelText: '取消', @@ -206,8 +206,8 @@ const AdminOauthAppList: React.FC = () => {
- - 授权应用列表 + + 应用管理列表 @@ -231,7 +231,7 @@ const AdminOauthAppList: React.FC = () => { { @@ -299,7 +299,7 @@ const AdminOauthAppList: React.FC = () => { { setDetailModalVisible(false); @@ -333,7 +333,7 @@ const AdminOauthAppList: React.FC = () => { { diff --git a/video-gen-app/src/pages/AuthorizationPage.tsx b/video-gen-app/src/pages/AuthorizationPage.tsx index 4617901c..1e3228fc 100644 --- a/video-gen-app/src/pages/AuthorizationPage.tsx +++ b/video-gen-app/src/pages/AuthorizationPage.tsx @@ -163,10 +163,10 @@ const AuthorizationPage: React.FC = () => { })); return ( -
+
{/* 页面标题 */} -
-

+
+

授权管理

@@ -175,13 +175,11 @@ const AuthorizationPage: React.FC = () => {