mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-05 09:01:25 +08:00
style: 格式化代码和更新文档
This commit is contained in:
@@ -70,9 +70,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
field: 'dataScope',
|
||||
slots: {
|
||||
default: ({ row }) => {
|
||||
const found = authScopeOptions.find(
|
||||
(item) => item.value === row.dataScope,
|
||||
);
|
||||
const found = authScopeOptions.find((item) => item.value === row.dataScope);
|
||||
if (found) {
|
||||
return <Tag color={found.color}>{found.label}</Tag>;
|
||||
}
|
||||
@@ -132,6 +130,9 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
label: '角色排序',
|
||||
rules: 'required',
|
||||
defaultValue: 1,
|
||||
componentProps: {
|
||||
rootClass: 'flex-1',
|
||||
},
|
||||
},
|
||||
{
|
||||
component: 'Select',
|
||||
|
||||
Reference in New Issue
Block a user