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']] ), ] },