功能变化:

角色管理默认值优化
pull/49/head
猿小天 2022-04-15 19:51:56 +08:00
parent 6aff934963
commit 48f18d7f1c
2 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ export const crudOptions = (vm) => {
data: BUTTON_WHETHER_BOOL data: BUTTON_WHETHER_BOOL
}, },
form: { form: {
value: 0, value: false,
component: { component: {
placeholder: '请选择是否管理员' placeholder: '请选择是否管理员'
} }
@ -183,7 +183,7 @@ export const crudOptions = (vm) => {
data: BUTTON_STATUS_BOOL data: BUTTON_STATUS_BOOL
}, },
form: { form: {
value: 1, value: true,
component: { component: {
placeholder: '请选择状态' placeholder: '请选择状态'
} }

View File

@ -48,7 +48,7 @@
> >
<template slot="title"> <template slot="title">
<div> <div>
当前角色<el-tag>管理员</el-tag> 当前角色<el-tag>{{roleObj?roleObj.name:'无'}}</el-tag>
</div> </div>
</template> </template>
<div> <div>