vue-vben-admin/src
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
..
api feat: add request retry (#1553) 2022-03-19 00:07:34 +08:00
assets chore: update deps 2021-06-26 00:31:21 +08:00
components 添加 Form ApiTransfer , 修复标签页切换灰屏不显示内容问题 (#2052) 2022-07-10 18:26:39 +08:00
design 修复tinymce嵌入表单示例页面换行错误,清理!important,revert(vbenjs#1996) (#1999) 2022-06-26 12:46:27 +08:00
directives remove duplicate judgment (#1432) 2021-12-01 22:01:50 +08:00
enums docs: 添加注释, 修复 (#1927) 2022-06-16 19:02:10 +08:00
hooks fix(useRedo): 重新加载页面useRedo方法会添加一条浏览记录 (#2043) 2022-07-07 15:41:08 +08:00
layouts 添加 Form ApiTransfer , 修复标签页切换灰屏不显示内容问题 (#2052) 2022-07-10 18:26:39 +08:00
locales add TabsForm demo (#1914) 2022-05-20 18:00:08 +08:00
logics chore: format code 2021-08-24 22:41:48 +08:00
router docs: 添加注释, 修复 (#1927) 2022-06-16 19:02:10 +08:00
settings fix: 菜单响应式隐藏时宽度计算错误 (#1945) 2022-06-16 19:04:07 +08:00
store docs: 添加注释, 修复 (#1927) 2022-06-16 19:02:10 +08:00
utils fix(is.ts): 修复isUrl正则不能匹配到 hash模式的外链 的问题 (#2051) 2022-07-07 15:42:50 +08:00
views fix(expandtable): 恢复可展开表格Demo,修复开启可展开表格后横向滚动失效问题 (#2050) 2022-07-07 15:42:30 +08:00
App.vue fix: Fix multi-language errors and installation errors 2021-11-26 00:09:08 +08:00
main.ts docs: 添加注释 (#1924) 2022-05-28 05:49:18 +08:00