浏览代码

新增角色组件样式修改

ZL 3 周之前
父节点
当前提交
3704e624c6
共有 1 个文件被更改,包括 1 次插入16 次删除
  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',