From a33a80063d53f08db6857fd81682b48c4b2bf80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wei=5F=E4=BD=B3?= Date: Thu, 27 Nov 2025 18:07:52 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=B9=B6=E7=A7=BB=E9=99=A4GitHub=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新应用标题为中文"管理后台" - 简化package.json中的项目名称为"admin-web" - 删除GithubSite.vue组件及其相关导入 - 移除header中的GitHub链接图标 - 清理发票列表中的权限指令装饰器 - 清理用户列表中的权限指令装饰器 - 优化项目配置和组件结构 --- web/.env | 2 +- web/package.json | 2 +- .../components/header/components/GithubSite.vue | 11 ----------- web/src/layout/components/header/index.vue | 2 -- web/src/views/transaction/invoice/index.vue | 2 -- web/src/views/user-management/user-list/index.vue | 2 -- 6 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 web/src/layout/components/header/components/GithubSite.vue diff --git a/web/.env b/web/.env index 5c85cbc..f05f23e 100644 --- a/web/.env +++ b/web/.env @@ -1,3 +1,3 @@ -VITE_TITLE = 'Vue FastAPI Admin' +VITE_TITLE = '管理后台' VITE_PORT = 3100 \ No newline at end of file diff --git a/web/package.json b/web/package.json index 21ab0fa..8fd26d8 100644 --- a/web/package.json +++ b/web/package.json @@ -1,5 +1,5 @@ { - "name": "vue-fastapi-admin-web", + "name": "admin-web", "version": "0.0.0", "private": true, "scripts": { diff --git a/web/src/layout/components/header/components/GithubSite.vue b/web/src/layout/components/header/components/GithubSite.vue deleted file mode 100644 index 3aed953..0000000 --- a/web/src/layout/components/header/components/GithubSite.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/web/src/layout/components/header/index.vue b/web/src/layout/components/header/index.vue index 17a8474..82e3c16 100644 --- a/web/src/layout/components/header/index.vue +++ b/web/src/layout/components/header/index.vue @@ -6,7 +6,6 @@
-
@@ -17,7 +16,6 @@ import BreadCrumb from './components/BreadCrumb.vue' import MenuCollapse from './components/MenuCollapse.vue' import FullScreen from './components/FullScreen.vue' import UserAvatar from './components/UserAvatar.vue' -import GithubSite from './components/GithubSite.vue' import ThemeMode from './components/ThemeMode.vue' import Languages from './components/Languages.vue' diff --git a/web/src/views/transaction/invoice/index.vue b/web/src/views/transaction/invoice/index.vue index 88fad20..56254fd 100644 --- a/web/src/views/transaction/invoice/index.vue +++ b/web/src/views/transaction/invoice/index.vue @@ -211,7 +211,6 @@ const columns = [ }, { default: () => '开票' } ), - [[vPermission, 'post/api/v1/transactions/send-email']] ) ) buttons.push( @@ -226,7 +225,6 @@ const columns = [ }, { default: () => '退款' } ), - [[vPermission, 'post/api/v1/invoice/update-status']] ) ) } else if (row.status === 'invoiced') { diff --git a/web/src/views/user-management/user-list/index.vue b/web/src/views/user-management/user-list/index.vue index a6d8f2d..9d222cc 100644 --- a/web/src/views/user-management/user-list/index.vue +++ b/web/src/views/user-management/user-list/index.vue @@ -149,7 +149,6 @@ const columns = [ icon: renderIcon('material-symbols:info', { size: 16 }), } ), - [[vPermission, 'get/api/v1/app-user-admin/list']] ), withDirectives( h( @@ -165,7 +164,6 @@ const columns = [ icon: renderIcon('material-symbols:settings', { size: 16 }), } ), - [[vPermission, 'post/api/v1/app-user-admin/quota']] ), ] },