Browse Source

fix: vue3 role schema

xingyu4j 2 năm trước cách đây
mục cha
commit
99c21e52c8
1 tập tin đã thay đổi với 17 bổ sung1 xóa
  1. 17 1
      yudao-ui-admin-vue3/src/views/system/role/role.data.ts

+ 17 - 1
yudao-ui-admin-vue3/src/views/system/role/role.data.ts

@@ -28,7 +28,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
       title: '角色类型',
       field: 'type',
       dictType: DICT_TYPE.SYSTEM_ROLE_TYPE,
-      dictClass: 'number'
+      dictClass: 'number',
+      isForm: false
     },
     {
       title: '角色标识',
@@ -39,6 +40,21 @@ const crudSchemas = reactive<VxeCrudSchema>({
       title: '显示顺序',
       field: 'sort'
     },
+    {
+      title: t('form.remark'),
+      field: 'remark',
+      isTable: false,
+      form: {
+        component: 'Input',
+        componentProps: {
+          type: 'textarea',
+          rows: 4
+        },
+        colProps: {
+          span: 24
+        }
+      }
+    },
     {
       title: t('common.status'),
       field: 'status',