mfish
|
dab977ffbc
|
fix(ApiSelect): 解决参数类型为string时的警告问题 (#2517)
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
* fix(axiosRetry): 参数首字母小写
* fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题
* feat(useDataSource): 删除之前提交代码遗留的console
* fix(permissionGuard): 当获取用户信息失败时,不允许正常登陆返回登陆界面
* fix(permissionGuard): 代码还原
* fix(menu): 解决隐藏菜单目录只能隐藏第一层目录的问题,递归隐藏所有子菜单
* feat(baseSetting): 个人设置图标修改时弹出窗显示原图片,由于跨域获取图片存在问题暂时将user.ts中的跨域图片链接去掉,直接采用本地图片
* fix(ApiSelect): 解决参数类型为string时的警告问题
|
4 years ago |
lzdjack
|
d3ec7a58ad
|
fix: 修复RadioButtonGroup组件返回值不正确的bug (#2513)
|
4 years ago |
lzdjack
|
83e529681a
|
perf: 优化ApiRadioGroup回调函数change参数 (#2512)
|
4 years ago |
lzdjack
|
4d6f24d053
|
perf: 优化ApiCascader回调函数change参数 (#2511)
|
4 years ago |
Cyrus Zhou
|
1657439569
|
修复 updateSchema 多个field 属性时,第二个无效问题。 (#2493)
* 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>
|
4 years ago |
前端爱码士
|
f1717973c4
|
fix: 修复props中Array类型定义问题 (#2491)
|
4 years ago |
vivianma83
|
4c67d8c388
|
feat: 使用useForm时调用setFieldsValue后,组件的onChange未主动触发 (#2142) (#2503)
Co-authored-by: maxiaojing <maxiaojing@hashdata.cn>
|
4 years ago |
Vinton
|
098621892d
|
perf(component): 1.优化appendSchemaByField只能单一添加一个表单项的问题,可以传入数组表单项,统一添加,减少重复方法调用 2. 增加批量添加表单项demo (#2472)
|
4 years ago |
Little-LittleProgrammer
|
c7639c4909
|
fix(basicForm): Fixed an issue where custom rules trigger would not take effect (#2439)
Co-authored-by: 吴安乐 <wuanle@qimao.com>
|
4 years ago |
前端爱码士
|
5a9a8644d6
|
fix: 修复Form组件emptySpan类型定义错误 (#2432)
|
4 years ago |
Vinton
|
0bb3b7f90d
|
fix: 修复频繁调用_setDefaultValue方法,设置初始值的时候,多次调用失效的问题 (#2431)
Co-authored-by: huangwentao <huangwentao@dianchu.com>
|
4 years ago |
yaoyylm
|
87ee7cd27a
|
处理(Warning 'Use of eval is strongly discouraged')警告 (#2424)
|
4 years ago |
前端爱码士
|
a12c5706e8
|
fix: 修复props默认字段default返回空对象语法问题 (#2369)
|
4 years ago |
无木
|
58b30aae9a
|
refactor: form advanced logic,fixed #2124, #2078,#2089 . follow #2125
|
4 years ago |
无木
|
5292838fcd
|
fix(apiSelect): remove attribute warning, fixed #2247
|
4 years ago |
sevth
|
bc499744c0
|
feat(Form): 支持`filedMapToTime`分别格式化时间,支持配置时间相关组件默认值处理开关,当组件配置`valueFormat`时,默认值绑定不再是`moment`对象,此时应关闭默认值的转换处理 (#2305)
* fix: 修复使用 extendSlots 时插槽参数未传递的问题。
* feat(Form): `fieldMapToTime`additional time formatting support separately.
* fix(Form): Add `isHandleDateDefaultValue` property.
Co-authored-by: sevth <pengqiang@vastweb>
|
4 years ago |
Sizhu Wang
|
c8b169494f
|
fix(form): 修复表单fieldMapToTime对应的值为空仍提交原来的字段值 (#2303)
|
4 years ago |
JinMao
|
768fadbffb
|
fix: Form method name field
|
4 years ago |
前端爱码士
|
9aa2cf3ebf
|
fix: 修复单词拼写错误,replace 'Filed' width 'Feild' (#2285)
|
4 years ago |
wujieli
|
692df33fd8
|
types(components): ApiTransfer props 类型错误,删除多余属性 (#2197)
|
4 years ago |
wjc112233
|
20c10df846
|
fix: 修改BasicForm表单的展开和收起按钮状态错误的bug (#2089) (#2109)
Co-authored-by: wjc <7098544231@qq.com>
|
4 years ago |
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' },
],
},
....
```
|
4 years ago |
Tanimodori
|
3cc72d6791
|
fix: 更新Schema时默认值不应覆盖已有值,fix #1997 (#2003)
|
4 years ago |
Arvin
|
d21578ab33
|
表单设置初始值defaultValue时候使用深度拷贝 (#1935)
* fix: fix wrong naming
* perf: 表单设置初始值defaultValue时候使用深度拷贝
* perf: 表单设置初始值defaultValue时候使用深度拷贝
* Revert "perf: 表单设置初始值defaultValue时候使用深度拷贝"
This reverts commit a103cd11b4.
* perf: perf Tree Component
* fix: 解决tree树形异步懒加载,点击两次才能关闭
Co-authored-by: yfh01 <unconfigured@null.spigotmc.org>
|
4 years ago |
Felix Hoi
|
a0920d284d
|
fix(useFormEvents): isNullOrUnDef is not defined (#1915)
* fix/invaild dateFormat
* fix(useFormEvents): isNullOrUnDef is not defined
Co-authored-by: Felix Hoi <felixhoi@ssm.gov.mo>
|
4 years ago |
Joyboo
|
d09e998ae7
|
表单field支持a.b.c的写法 (#1549)
* chore: table size放到settings
* chore(TableAction): 操作确认框增加placement属性支持
* chore(Form): 表单field支持a.b.c嵌套写法
Co-authored-by: jinmao88 <50581550+jinmao88@users.noreply.github.com>
|
4 years ago |
JinMao
|
3b86435766
|
feat: ApiTree add afterFetch props,add ApiTree demo
|
4 years ago |
Henry Rao
|
b41e3939ac
|
fix: 修复updateSchema之后会把已填值重置为defaultValue的问题 (#1792)
|
4 years ago |
chengj
|
c0441cf5c3
|
feat: listen form field value change
|
4 years ago |
zuihou
|
8d93e047d0
|
fix: 已经存在rules时,required不生效
|
4 years ago |
zuihou
|
1e0ede09a2
|
fix: 已经存在rules时,required不生效
|
4 years ago |
zuihou
|
a343b49014
|
feat: 表单新增name属性。 配置name后,可以解决同一个页面有多个表单且存在相同字段时, 生成的组件字段的id相同的问题
|
4 years ago |
lzdjack
|
aaa30fbf10
|
feat(form): appendSchemaByField和updateSchema支持defaultValue (#1608)
1. 兼容appendSchemaByField和updateSchema支持设置默认值
|
5 years ago |
Dack Wang
|
573a443007
|
fix(ApiCascader): 引入缺少useI18n库的t方法 (#1648)
* fix(): The Style of tableTitle slot
* fix(ApiCascader): 引入缺少useI18n库的t方法
Co-authored-by: 王英琦 <wangyingqi@91bihu.com>
Co-authored-by: wangyingqi <wangyingqi@chinapost.com.cn>
|
5 years ago |
lee
|
79eb909c66
|
feat: make fields key of form deconstructable (#1663)
Co-authored-by: liheng.wu <liheng.wu@tcl.com>
|
5 years ago |
ToQuery
|
67d514ad0e
|
新增 api tree 组件 (#1582)
* tsconfig 增加 types , 解决webstorm提示错误
* api-tree
|
5 years ago |
1sm
|
f964533701
|
feat(BasicForm): add `submitOnChange` option (#1521)
|
5 years ago |
wangxiaoer5200
|
2423aeab64
|
fix: 修复表单重置某些input类型组件不生效问题,close #1519 (#1526)
Co-authored-by: bingguo <bingguo@gaoding.com>
|
5 years ago |
George Tan
|
1a43142252
|
fix(form component): fix form 'vertical' layout row width (#1535)
|
5 years ago |
lzdjack
|
6b594aec53
|
fix: Fix the issue that clear verification does not take effect in the reset form (#1498)
|
5 years ago |
1sm
|
ab62739fd1
|
`ApiSelect` Add `alwaysLoad` option (#1461)
* fix(modal): 取消全屏功能后关闭图标颜色异常
* chore: move to pnpm
* fix: RangePicekr在表单项中占满分配的宽度
* chore: comment format
* Revert "fix: RangePicekr在表单项中占满分配的宽度"
This reverts commit cd70e41dac.
* feat(ApiSelect): 新增每次加载选项
Co-authored-by: liushiman <smliu@gk-estor.com>
|
5 years ago |
vben
|
3fcfac1f37
|
wip: Upgrade ant-design-vue 3.0
|
5 years ago |
1sm
|
5fca9ce2c5
|
chore: comment format (#1398)
* fix(modal): 取消全屏功能后关闭图标颜色异常
* chore: move to pnpm
* fix: RangePicekr在表单项中占满分配的宽度
* chore: comment format
* Revert "fix: RangePicekr在表单项中占满分配的宽度"
This reverts commit cd70e41dac.
Co-authored-by: liushiman <smliu@gk-estor.com>
|
5 years ago |
liweijie0812
|
49c890ebec
|
fix: Form appendSchemaByField移除hasInList判断 (#1341)
|
5 years ago |
Jobin
|
97fe8e2058
|
feat(ApiCascader): add asynchronous cascader component (#1321)
|
5 years ago |
vben
|
a248e20013
|
chore: fix type
|
5 years ago |
zuihou
|
89414f173e
|
feat(Form): 新增 ApiRadioGroup 组件
|
5 years ago |
无木
|
e1cbe23e96
|
fix(api-tree-select): `fetch` not triggered when `params` changed
修复ApiTreeSelect的params变化未能触发重新请求API数据的问题
|
5 years ago |
Lowell
|
473e56e4e0
|
form的label属性实际上可以使用VNode (#1252)
|
5 years ago |
Joyboo
|
754d1986e9
|
fix: 修复ApiSelect属性被覆盖的问题 (#1226)
|
5 years ago |