| | |
| | | dataIndex: 'btnType', |
| | | ifShow: false, |
| | | }, |
| | | { |
| | | title: '执行方法', |
| | | dataIndex: 'doMethod', |
| | | ifShow: false, |
| | | }, |
| | | ]; |
| | | |
| | | const isDir = (type: string) => type === '0'; |
| | |
| | | label: '图标', |
| | | component: 'IconPicker', |
| | | required: ({ values }) => isDir(values.func_type), |
| | | ifShow: ({ values }) => !isButton(values.func_type), |
| | | ifShow: ({ values }) => true, //!isButton(values.func_type), |
| | | }, |
| | | |
| | | { |
| | |
| | | ifShow: ({ values }) => isButton(values.func_type), |
| | | }, |
| | | { |
| | | field: 'doMethod', |
| | | label: '执行方法名', |
| | | component: 'Input', |
| | | ifShow: ({ values }) => isButton(values.func_type), |
| | | }, |
| | | { |
| | | field: 'func_code', |
| | | label: '权限标识', |
| | | component: 'Input', |