chore: 更新项目配置并移除GitHub链接组件
- 更新应用标题为中文"管理后台" - 简化package.json中的项目名称为"admin-web" - 删除GithubSite.vue组件及其相关导入 - 移除header中的GitHub链接图标 - 清理发票列表中的权限指令装饰器 - 清理用户列表中的权限指令装饰器 - 优化项目配置和组件结构
This commit is contained in:
parent
803106ecf2
commit
a33a80063d
2
web/.env
2
web/.env
@ -1,3 +1,3 @@
|
|||||||
VITE_TITLE = 'Vue FastAPI Admin'
|
VITE_TITLE = '管理后台'
|
||||||
|
|
||||||
VITE_PORT = 3100
|
VITE_PORT = 3100
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-fastapi-admin-web",
|
"name": "admin-web",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -1,11 +0,0 @@
|
|||||||
<template>
|
|
||||||
<n-icon mr-20 size="18" style="cursor: pointer" @click="handleLinkClick">
|
|
||||||
<icon-mdi:github />
|
|
||||||
</n-icon>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup>
|
|
||||||
function handleLinkClick() {
|
|
||||||
window.open('https://github.com/mizhexiaoxiao/vue-fastapi-admin')
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
@ -6,7 +6,6 @@
|
|||||||
<div ml-auto flex items-center>
|
<div ml-auto flex items-center>
|
||||||
<Languages />
|
<Languages />
|
||||||
<ThemeMode />
|
<ThemeMode />
|
||||||
<GithubSite />
|
|
||||||
<FullScreen />
|
<FullScreen />
|
||||||
<UserAvatar />
|
<UserAvatar />
|
||||||
</div>
|
</div>
|
||||||
@ -17,7 +16,6 @@ import BreadCrumb from './components/BreadCrumb.vue'
|
|||||||
import MenuCollapse from './components/MenuCollapse.vue'
|
import MenuCollapse from './components/MenuCollapse.vue'
|
||||||
import FullScreen from './components/FullScreen.vue'
|
import FullScreen from './components/FullScreen.vue'
|
||||||
import UserAvatar from './components/UserAvatar.vue'
|
import UserAvatar from './components/UserAvatar.vue'
|
||||||
import GithubSite from './components/GithubSite.vue'
|
|
||||||
import ThemeMode from './components/ThemeMode.vue'
|
import ThemeMode from './components/ThemeMode.vue'
|
||||||
import Languages from './components/Languages.vue'
|
import Languages from './components/Languages.vue'
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -211,7 +211,6 @@ const columns = [
|
|||||||
},
|
},
|
||||||
{ default: () => '开票' }
|
{ default: () => '开票' }
|
||||||
),
|
),
|
||||||
[[vPermission, 'post/api/v1/transactions/send-email']]
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
buttons.push(
|
buttons.push(
|
||||||
@ -226,7 +225,6 @@ const columns = [
|
|||||||
},
|
},
|
||||||
{ default: () => '退款' }
|
{ default: () => '退款' }
|
||||||
),
|
),
|
||||||
[[vPermission, 'post/api/v1/invoice/update-status']]
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
} else if (row.status === 'invoiced') {
|
} else if (row.status === 'invoiced') {
|
||||||
|
|||||||
@ -149,7 +149,6 @@ const columns = [
|
|||||||
icon: renderIcon('material-symbols:info', { size: 16 }),
|
icon: renderIcon('material-symbols:info', { size: 16 }),
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
[[vPermission, 'get/api/v1/app-user-admin/list']]
|
|
||||||
),
|
),
|
||||||
withDirectives(
|
withDirectives(
|
||||||
h(
|
h(
|
||||||
@ -165,7 +164,6 @@ const columns = [
|
|||||||
icon: renderIcon('material-symbols:settings', { size: 16 }),
|
icon: renderIcon('material-symbols:settings', { size: 16 }),
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
[[vPermission, 'post/api/v1/app-user-admin/quota']]
|
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user