vue-vben-admin/src/components
Cyrus Zhou 40071529d2
添加 Form ApiTransfer , 修复标签页切换灰屏不显示内容问题 (#2052)
* Table BasicColumn 添加 editDynamicDisabled
Co-authored-by: Cyrus Zhou <6802207@qq.com>
使用方式同 Form FormSchema dynamicDisabled
```
export const Columns: BasicColumn[] = [
  {
    title: 'Title',
    dataIndex: 'Title',
    editRow: true,
    editComponent: 'Select',
    editDynamicDisabled: ({ record }) => record.isDisabled,
  },

* editComponentProps onChange 功能恢复
Co-authored-by: Cyrus Zhou <6802207@qq.com>
说明:
...omit(compProps, 'onChange')
这会忽略 onChange ,导致 editComponentProps onChange 被取消

如下功能将不支持:
```
editComponentProps: ({ record }) => {
  return {
    options: effectTypeData,
    onChange: () => {
    },
  };
},
```

* tableData == null 报错

* ApiSelect 第一次选择触发required错误提示问题

* 恢复 虽然可以解决第一次选择提示报错问题,但是会导致 onChange: (e: any, options: any) => 无法获得 options 的值

* 修复标签页切换灰屏不显示内容问题
Co-authored-by: Cyrus Zhou <6802207@qq.com>
问题描述页面没有用 div 包括 会提示 Component inside <Transition> renders non-element root node that cannot be animated ,
导致页灰屏必须刷新页面才可以显示内容

* 添加 Form ApiTransfer
## 使用方式
api 方式:
```
    ......
    component: 'ApiTransfer',
    componentProps: {
       api: sysUserSelector,
       labelField: 'name',
       valueField: 'id',
    },
    .....
```
数据方式:
```
     ....
     componentProps: {
      dataSource: [
        { title: 'Test01', key: '0', disabled: false, description: 'description 01' },
        { title: 'Test02', key: '1', disabled: false, description: 'description 02' },
        { title: 'Test03', key: '2', disabled: false, description: 'description 03' },
        { title: 'Test04', key: '3', disabled: false, description: 'description 04' },
        { title: 'Test05', key: '4', disabled: false, description: 'description 05' },
      ],
    },
    ....
```
2022-07-10 18:26:39 +08:00
..
Application fix: 修复控制台一些常见报错和警告 (#1750) 2022-03-25 23:39:49 +08:00
Authority perf: optimize components and add comments 2021-06-09 00:22:29 +08:00
Basic chore: format code 2021-08-24 22:41:48 +08:00
Button chore: format code 2021-08-24 22:41:48 +08:00
CardList chore: update deps 2022-01-24 23:30:26 +08:00
ClickOutSide chore: change to setup syntax 2021-08-16 23:43:09 +08:00
CodeEditor wip: Upgrade ant-design-vue 3.0 2021-11-24 23:25:13 +08:00
Container fix: 无需导入 defineExpose 2022-03-30 09:38:48 +08:00
ContextMenu feat: contextMenuItem add hidden property (#1890) 2022-05-20 18:02:23 +08:00
CountDown fix: `slots` working in components 2021-08-13 15:06:06 +08:00
CountTo fix(CountTo): Fix displaying empty string when the value is 0 (#864) 2021-07-05 22:45:13 +08:00
Cropper chore: lint fix 2022-03-18 20:34:44 +08:00
Description fix: 修复Description组件渲染function xxxx() { [native code] }的问题 (#1796) 2022-04-13 19:44:36 +08:00
Drawer fix: 修复DrawerFooter border-top导致滚动条出现的问题 (#2002) 2022-06-26 12:47:33 +08:00
Dropdown fix(dropdown): add missing function 2021-09-20 19:06:26 +08:00
Excel feat: ImportExcel组件增加直接获取文件功能,方便后端处理大Excel文件。 (#2045) 2022-07-07 15:41:25 +08:00
FlowChart chore: format code 2021-08-24 22:41:48 +08:00
Form 添加 Form ApiTransfer , 修复标签页切换灰屏不显示内容问题 (#2052) 2022-07-10 18:26:39 +08:00
Icon chore: lint fix 2022-03-18 20:34:44 +08:00
Loading chore: format code 2021-10-25 23:49:03 +08:00
Markdown fix: markdown深色模式内容区和代码块未适配bug; markdownViewer改为vidtor自带预览模式 (#2023) 2022-07-05 11:55:26 +08:00
Menu chore: lint fix 2022-03-18 20:34:44 +08:00
Modal style: 修复antdv Modal header高度错误 (#1987) 2022-06-24 04:35:21 +08:00
Page refactor(dashboard): adjust the spacing of Card under the small screen (#1399) 2021-11-24 23:16:53 +08:00
Preview chore: format code 2021-10-25 23:49:03 +08:00
Qrcode chore: format code 2021-08-24 22:41:48 +08:00
Scrollbar chore: format code 2021-10-25 23:49:03 +08:00
SimpleMenu fix: stylelint config, close #1658 2022-03-19 06:55:37 +08:00
StrengthMeter chore: format code 2021-10-25 23:49:03 +08:00
Table fix(expandtable): 恢复可展开表格Demo,修复开启可展开表格后横向滚动失效问题 (#2050) 2022-07-07 15:42:30 +08:00
Time chore: format code 2021-08-24 22:41:48 +08:00
Tinymce chore: format code 2021-08-24 22:41:48 +08:00
Transition chore: format code 2021-08-24 22:41:48 +08:00
Tree 表单设置初始值defaultValue时候使用深度拷贝 (#1935) 2022-06-16 19:03:37 +08:00
Upload fix: 修复上传附件之后回显了多余条目 (#1495) 2021-12-18 22:25:49 +08:00
Verify chore: format code 2021-10-25 23:49:03 +08:00
VirtualScroll refactor(virtual-scroll): refactor virtualScroll component 2021-06-11 22:39:02 +08:00
registerGlobComp.ts wip: Upgrade ant-design-vue 3.0 2021-11-24 23:25:13 +08:00