Browse Source

新增角色组件样式修改

ZL 3 weeks ago
parent
commit
3704e624c6
1 changed files with 1 additions and 16 deletions
  1. 1 16
      jeecgboot-vue3/src/views/system/role/role.data.ts

+ 1 - 16
jeecgboot-vue3/src/views/system/role/role.data.ts

@@ -132,17 +132,6 @@ export const searchUsermodelSchema: FormSchema[] = [
 
 ];
 
-export const onCleanCode = (formRef: any) => {
-  console.log('cleanCode');
-  console.log('formRef.value', formRef);
-  if (formRef) {
-    formRef.setFieldsValue({
-      roleCode: '',
-    })
-    console.log('formRef.value', formRef.validate);
-
-  }
-};
 
 export const formSchema: FormSchema[] = [
   {
@@ -159,12 +148,8 @@ export const formSchema: FormSchema[] = [
       api: appList,
       labelField: 'name',
       valueField: 'id',
-      placeholder: '请选择应用',
-      onChange: (value) => {
-        onCleanCode();
-      },
+      placeholder: '请选择应用'
     },
-    colProps: { span: 6 },
   },
    {
     field: 'roleName',