-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: tree 组件 修正 data 变更时,视图绑定丢失的问题 (#1976)
* fix(tree): 解决 tree 组件指定 keys 属性后,next 版本可能导致 dom 无限刷新的问题 fix #445 * fix(tree): 解决 tree 组件指定 keys 属性后,next 版本可能导致 dom 无限刷新的问题 fix #445 * test(tree): 迁移 keys 校验脚本到组件目录内部 * docs(tree): 完善调试文档 * test(tree): tree组件属性变更示例,用随机时间戳作为属性变更例子 * test(tree): tree 组件单元测试文件命名规范化 * test(tree): 改进测试代码传参方式,完善代码注释 * test(tree): 完善组件单元测试,提供对公共 api 的单元测试代码 * test(tree): tree 组件,完善节点插入方法的单元测试 * refactor(tree): 提取 store, cache 相关方法到 composition api * refactor(tree): tree 组件 composition api 重构,添加原先的公共方法 * refactor(tree): tree 组件重新实现空数据与类名的生成 * refactor(tree): tree组件提取节点创建方法到 composition api * refactor(tree): tree 组件 composition api 实现节点呈现 * refactor(tree): tree 组件,迁移主要节点操作逻辑到 composition api * refactor(tree): tree 组件,完善监听逻辑的重构 * refactor(tree): tree 组件,移除调试用的注释代码 * refactor(tree): tree 组件,完成基本 composition api 重构,细节还有待调试 * refactor(tree): tree 组件重构解决操作区域未渲染的问题 * refactor(tree): td-tree 组件 composition api 重构通过单元测试 * refactor(tree): tree-item 组件重构为 composition api , 实现基础渲染逻辑抽离 * refactor(tree): tree-item 组件初步实现列表形式渲染的 composition api 重构 * chore(tree): treeItem 组件完成 composition api 基本重构 * refactor(tree): 移除嵌套布局代码 * refactor(tree): 解决单元测试时代码类型报错的问题 * refactor(tree): tree 组件动画样式完善 * refactor(tree): 更新依赖的 common 组件 * refactor(tree): tree 组件更新 common 依赖 * test(tree): tree 组件适配 vitest * test(tree): tree 组件单测改进,移除 done 方法,替换为 promise api * chore(tree): merge upsteam * refactor(tree): td-tree 合并 draggable 事件功能 * refactor(tree): 实现节点普通事件的抽离封装 * refactor(tree): 封装事件派发方法 * refactor(tree): tree 组件,进一步拆分逻辑到多个文件,onDrag mixin 变更为 composition api 代码 * refactor(tree): tree item 组件进一步抽离子组件 * refactor(tree): 实现拖动能力的 composition api 基本重构,有待调试 * refactor(tree): 实现取得节点 dom * refactor(tree): 更新 _common 依赖 * refactor(tree): 实现对接拖动排序逻辑 * refactor(tree): 完善拖动,修复动画与图标偏移 * refactor(tree): 改进上层属性传递方式 * refactor(tree): tree 组件重构,解决过滤结果为空时空列表状态未呈现的问题 * refactor(tree): 更新 src/_common * fix(tree): 解决依赖缺失的问题 * chore(tree): 更新 src/_common * chore(tree): 更新 src/_common * chore(tree): 更新 src/_common * fix(tree): 修正动态改变 data 时,视图绑定丢失的问题 fix #1966 * test(tree): tree 组件,解决 data change 问题后,空列表测试需做相应改造
- Loading branch information
Showing
4 changed files
with
38 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters