• * fix(AppendForm): 修复 批量添加表单配置 按钮点击事件未使用批量方法 问题
    
    * perf(AppendForm): 表单排版改用baseColProps一次配置,减少重复代码
    
    Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
    Wit〆苗大 authored
     
    Browse Code »
  • * 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' },
          ],
        },
        ....
    ```
    
    * style: eslint 书写规范
    
    * fix: 频繁切换页面导致灰屏
    
    * fix: 修复 updateSchema 多个field 属性时,第二个无效问题。
    
    如:
    ```
    updateSchema([
              {
                field: 'password',
                ifShow: !unref(isUpdate),
              },
              {
                field: 'confirm',
                ifShow: !unref(isUpdate),
              },
            ]);
            ```
    
    Co-authored-by: CyrusZhou <6802207@qq.com>
    Cyrus Zhou authored
     
    Browse Dir »
  • * feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
    
    * fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
    
    * fix(axiosRetry): 参数首字母小写
    
    * fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题
    
    * feat(useDataSource): 删除之前提交代码遗留的console
    
    * fix(permissionGuard): 当获取用户信息失败时,不允许正常登陆返回登陆界面
    
    * fix(permissionGuard): 代码还原
    
    * fix(menu): 解决隐藏菜单目录只能隐藏第一层目录的问题,递归隐藏所有子菜单
    
    * feat(baseSetting): 个人设置图标修改时弹出窗显示原图片,由于跨域获取图片存在问题暂时将user.ts中的跨域图片链接去掉,直接采用本地图片
    mfish authored
     
    Browse Code »
  • 前端爱码士 authored
     
    Browse Dir »