调整 发布
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
<!-- 左侧展示区域 -->
|
||||
<div class="login-left">
|
||||
<div class="logo-section">
|
||||
<h1 style="color: #fff;">USED CAR</h1>
|
||||
<!-- <p>二手车管理系统</p> -->
|
||||
<h1 style="color: #fff">USED CAR</h1>
|
||||
<p>smartcar</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -160,9 +160,14 @@
|
||||
|
||||
// 角色设置辅助函数
|
||||
const getRoles = (role: number, role_wp: number | null) => {
|
||||
const roles: string[] = []
|
||||
|
||||
// 基础角色
|
||||
const baseRole = role == 1 ? 'business' : role == 2 ? 'procurement' : 'alls'
|
||||
const roles = [baseRole]
|
||||
if (role == 1) {
|
||||
roles.push('business')
|
||||
} else if (role == 2) {
|
||||
roles.push('procurement')
|
||||
}
|
||||
|
||||
// 根据 role_wp 添加额外角色
|
||||
if (role_wp == 1) {
|
||||
|
||||
Reference in New Issue
Block a user