xingyu
|
c6e135195a
|
修复合并代码导致的冲突 (#2905)
* fix: 合并代码导致的问题,升级vite 4.4.0
* fix: stylelint
|
2023-07-07 07:06:36 +08:00 |
前端爱码士
|
19fd49e22d
|
perf: 优化tree getIcon方法类型定义 (#2825)
|
2023-06-05 11:04:56 +08:00 |
zhenbintuo
|
cfbd5e9851
|
修复insertNodesByKey方法批量添加异常问题 (#2695)
当批量添加节点parentKey为空时,未赋值treeDataRef导致添加异常
|
2023-04-08 00:03:11 +08:00 |
vben
|
762e5dee14
|
fix: 修复循环依赖问题
|
2023-04-06 23:16:15 +08:00 |
vben
|
ba2415c3b4
|
chore: Extract lint config
|
2023-04-04 16:55:34 +08:00 |
JokeHe
|
8d218ec8d5
|
Update useTree.ts (#2602)
修复获取子节点出错
|
2023-03-06 11:24:24 +08:00 |
Houtaroy
|
d88915bac3
|
🐞 fix(Tree): 调整checkedKeys属性的类型 (#2562)
|
2023-02-22 18:09:30 +08:00 |
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>
|
2023-01-18 11:17:44 +08:00 |
无木
|
fd57b83db6
|
fix(basicTree): checked with searching, fixed #2070
|
2022-10-29 10:47:12 +08:00 |
MrAlenZhong
|
5abb0f2b37
|
feat: 对BaseTree组件新增treeWrapperClassName属性 (#2217)
|
2022-09-29 13:49:17 +08:00 |
Arvin
|
d21578ab33
|
表单设置初始值defaultValue时候使用深度拷贝 (#1935)
* fix: fix wrong naming
* perf: 表单设置初始值defaultValue时候使用深度拷贝
* perf: 表单设置初始值defaultValue时候使用深度拷贝
* Revert "perf: 表单设置初始值defaultValue时候使用深度拷贝"
This reverts commit a103cd11b4c8e4eeac3be114c103a5c30f562042.
* perf: perf Tree Component
* fix: 解决tree树形异步懒加载,点击两次才能关闭
Co-authored-by: yfh01 <unconfigured@null.spigotmc.org>
|
2022-06-16 19:03:37 +08:00 |
chengj
|
fe5848cf21
|
feat: contextMenuItem add hidden property (#1890)
* fix: dropdown placement bottomCenter to bottom
* feat: contextMenuItem add hidden property
|
2022-05-20 18:02:23 +08:00 |
chengj
|
5ad93c6004
|
feat(function): get selected tree node (#1857)
|
2022-04-29 09:55:14 +08:00 |
爱吃薯片的内存条
|
ce7f382b9b
|
fix: 修复tree组件初次渲染时无法应用已勾选的节点数组及一处字段名错误 (#1854)
|
2022-04-29 09:54:43 +08:00 |
jenson
|
e3637e7af4
|
fix: 修复Tree组件如果重新定义fieldNames的title字段后设置actionList失效的问题 (#1778)
Co-authored-by: miaojingu <miaojingu@zclhgroup.com>
|
2022-04-13 19:46:08 +08:00 |
zuihou
|
fb43e54847
|
feat(BasicTree): 支持设置加载中
|
2022-04-08 18:27:22 +08:00 |
vben
|
b0a0cbcd6a
|
fix: Fix context menu not working
|
2021-12-12 23:17:00 +08:00 |
zuihou
|
05bad7b9dc
|
fix(BasicTree): 加了top参数,操作按钮会错位
|
2021-12-11 12:18:05 +08:00 |
zuihou
|
8523afd512
|
fix(BasicTree): 修复升级antdv3.x后产生的问题
1. BasicTree组件无法正确使用插槽的问题
2. 无法递归遍历的问题
Closes #1453
|
2021-12-10 22:17:47 +08:00 |
vben
|
cb1759b257
|
perf(table): remove ExpandIcon
|
2021-12-01 22:40:29 +08:00 |
vben
|
170a4bceb1
|
fix(tree-select): replaceFields to fieldNames,close #1423
|
2021-12-01 22:20:58 +08:00 |
vben
|
52257f061d
|
refactor(tree): Refactor tree to support antv3.0
|
2021-11-30 01:01:19 +08:00 |
vben
|
3fcfac1f37
|
wip: Upgrade ant-design-vue 3.0
|
2021-11-24 23:25:13 +08:00 |
vben
|
a248e20013
|
chore: fix type
|
2021-10-26 01:19:51 +08:00 |
scil
|
85a68d5fc3
|
fix: check if searchText is null (#1301)
|
2021-10-25 23:33:11 +08:00 |
无木
|
15ea0d2f53
|
fix(tree): node slot take no effect
修复BasicTree节点插槽不起作用的问题
|
2021-09-15 19:50:26 +08:00 |
Lan
|
3b6b4f7303
|
perf(tree): 优化Tree搜索功能,添加搜索高亮功能,优化样式表现 (#1153)
1. 修复expandOnSearch与checkOnSearch功能
2. 添加selectOnSearch功能
3. 添加搜索高亮title功能
4. 优化TreeHeader的样式表现: searchInput自动扩充
|
2021-09-06 09:13:53 +08:00 |
Lan
|
e00578c40a
|
feat(tree): 1. 添加自定义数据过滤判断方法 2. 添加搜索完成自动展开结果选项 3. 添加搜索完成自动选中结果选项 4. 树节点数据变化时强制搜索(同步searchData避免展示错误) (#1132)
|
2021-08-30 09:04:59 +08:00 |
vben
|
56a966cfbf
|
chore: format code
|
2021-08-24 22:41:48 +08:00 |
无木
|
60577d6720
|
feat(tree): add searchable function
添加搜索功能相关属性和方法
close: #1057
|
2021-08-11 17:59:07 +08:00 |
无木
|
ddd1893b11
|
fix(tree): fix `checkAll` effects `disabled` node
|
2021-07-30 15:25:13 +08:00 |
无木
|
f707541dda
|
fix(tree): fixed `checkedKeys` with `search` mode
修复搜索状态的切换导致的勾选值可能不正确的问题
|
2021-07-16 10:56:37 +08:00 |
无木
|
b06a7ab77b
|
fix(basic-tree): `checkedKeys` not worked with `search`
修复搜索功能可能导致`checkedKeys`丢失的问题
fixed: #915
|
2021-07-15 23:17:31 +08:00 |
zhangfugui
|
186b274faa
|
refactor: tree component empty state display (#853)
|
2021-07-04 21:08:15 +08:00 |
无木
|
5a20df45ad
|
feat(tree): add `insertNodesByKey` method
|
2021-07-02 02:26:13 +08:00 |
bbkkkk8
|
d97aa92741
|
fix(comp-tree): support comp-tree-foreach stop,add insertNodesByKey (#818)
Co-authored-by: git <lixiaokang215@163.com>
|
2021-06-27 00:01:38 +08:00 |
Vben
|
3f6920f7a9
|
perf(component): optimize tree and upload components
|
2021-06-11 23:19:03 +08:00 |
Vben
|
bd2039accb
|
refactor: remove useExpose
|
2021-06-11 22:45:02 +08:00 |
无木
|
3ed2339a6d
|
fix(tree): support defaultExpandAll prop
defaultExpandLevel已去除-1的行为定义,由defaultExpandAll代替。
|
2021-05-29 23:08:10 +08:00 |
无木
|
6edca1c19c
|
feat(tree): add defaultExpandLevel prop
新增defaultExpandLevel属性,指定默认要展开的层级数。-1为默认全部展开(等同于ATree的defaultExpandAll),大于0则展开到指定层级。注意:该属性仅在首次渲染时起作用
close: #672
|
2021-05-29 00:48:56 +08:00 |
vben
|
3a16f2b80a
|
chore: adjust component file name
|
2021-05-27 22:58:54 +08:00 |
Netfan
|
d8ff30d9ec
|
fix(tree): onCheck event lose origin param (#636)
修复Tree的onCheck事件缺少节点参数的问题
|
2021-05-22 22:36:19 +08:00 |
Netfan
|
bc82d1a397
|
fix(tree): typo(#615)
* perf(form): schema required prop support array and strictly tree
* fix(tree): event 'change' triggered correctly
|
2021-05-18 23:05:33 +08:00 |
Netfan
|
0112d6b313
|
fix(tree): value prop type (#613)
|
2021-05-17 13:32:43 +08:00 |
Netfan
|
adff788de5
|
perf(tree): improve the beforeRightClick callback to support more configuration of the menu (#608)
|
2021-05-17 09:29:24 +08:00 |
啝裳
|
2f8b2183ec
|
fix(tree): basicTree设置blockNode=false后,显示异常 (#567)
|
2021-05-06 21:11:12 +08:00 |
Netfan
|
1ff13bf459
|
fix:searching with replaceFields fix #548,#557 (#569)
* fix: update selected before row-click event(#548)
* fix(tree): searching with replaceFields(#557)
|
2021-05-06 21:10:29 +08:00 |
Vben
|
2cdf2c28c4
|
style: background to background-color
|
2021-04-13 21:43:10 +08:00 |
Vben
|
967b28c4c0
|
feat: persistent save tab, fix #359
|
2021-04-10 21:41:22 +08:00 |
Vben
|
2037293aa3
|
refactor: refactor hooks
|
2021-04-10 21:41:22 +08:00 |