-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tree): tree 组件 vue2,vue3 统一业务代码 (#2820)
* docs(tree): 添加分支维护备忘 * docs(tree): 完善分支维护说明 * refactor(tree): 改进代码与 vue3 api 的适配能力 * refactor(tree): 修正 treeItem 组件与 vue3 代码适配的问题 * refactor(tree): tree 类型文件更名为 tree-types.ts * refactor(tree): tree 组件使用 useVModel 改进受控逻辑 * fix(tree): tree 组件,修正受控形态下,赋值结果为空时依然更新了选中状态的问题 * test(tree): tree 组件添加测试: actived 受控处理可赋值空值 * test(tree): tree 组件还原 state 示例 * refactor(tree): tree 组件适配 useVModel 方法,完善 vue3 适配方式 * refactor(tree): tree 组件,改进类型的 vue3 适配 * refactor(tree): tree 组件解决 vue3 类型警告问题 * refactor(tree): 解决 vue3 类型告警问题 * refactor(tree): 解决组件引用方式在 vue3 告警的问题 * refactor(tree): 对照 vue3 代码,改进 useVModel 的使用方式 * test(tree): 解决示例在控制台告警的问题 * refactor(tree): 解决 vue3 h 方法差异问题 * refactor(tree): tree 组件,修正 vue3 下 slots 获取方式差异 * refactor(tree): 示例消除 vue2, vue3 差异 * refactor(tree): 解决与 vue3 受控代码保持一致的问题 * refactor(tree): tree 组件统一受控示例 * refactor(tree): 解决 tree 组件 数据变更示例适配 vue3 环境需要调整逻辑的问题 * refactor(tree): tree 组件完善示例样式 * refactor(tree): tree 组件完善示例样式 * refactor(tree): tree 组件,示例代码与 vue3 统一 * refactor(tree): 改进代码结构,使用共享对象传递公共数据 * refactor(tree): tree 组件改进代码结构 * refactor(tree): 解决 vue3 未能触发 item render 的问题 * refactor(tree): 改进组件结构 * refactor(tree): 解决 vue3 props.disableCheck 未能正常工作的问题 * refactor(tree): 解决 empty 示例废弃 api 未生效的问题 * refactor(tree): 解决与 vue3 的示例差异 * refactor(tree): tree 组件完善节点操作示例 * refactor(tree): tree 组件完善属性变更逻辑 * refactor(tree): tree 组件,解决 setData 方法未能触发新增属性变更的问题 * refactor(tree): tree 组件,完善同步属性的示例 * refactor(tree): tree 组件虚拟滚动示例,降低节点数量便于调试 * refactor(tree): tree 组件,解决虚拟滚动数据变更的状态异常 * test(tree): tree 组件,屏蔽动画带来的测试概率性差异 * test(tree): tree 组件测试代码格式改进,适配 vue3 项目 * test(tree): tree 组件,测试代码与 vue3 版本统一 * refactor(tree): tree 组件虚拟滚动事件绑定适配 vue3 * test(tree): tree 组件统一vue2/vue3测试代码形式 * test(tree): tree 组件测试用例适配 vue-next 项目 * test(tree): tree 组件,vue2,vue3 统一测试用例 * test(tree): tree 组件,vue2,vue3 统一测试用例 * fix(tree): tree 组件虚拟滚动解决滚动条样式异常问题 * refactor(tree): tree 组件文件名称按规范重命名 * refactor(tree): tree 组件完善 expand-all 示例 * refactor(tree): tree 组件示例样式改进 * refactor(tree): tree 组件改进示例 * refactor(tree): 完善组件示例 * refactor(tree): tree 组件完善示例,分拆不同形式虚拟滚动示例 * refactor(tree): tree 组件改进清空节点的性能 * refactor(tree): tree 组件,完善虚拟滚动示例。变更受控实现 * fix(tree): tree 组件修正受控表现 * fix(tree): tree 组件修正事件触发规则 * test(tree): tree 组件完善单元测试 * chore(tree): tree 组件修改,更新 src/_common * fix(tree): tree 组件, update api * test(tree): tree, update snapshot * refactor(tree-select): 修正类型告警问题 * chore(tree): update common * chore(tree): update example * test(tree): update snapshot * chore: update common * chore(tree): update common * chore: revert style dir delete --------- Co-authored-by: Uyarn <uyarnchen@gmail.com>
- Loading branch information
Showing
71 changed files
with
10,794 additions
and
13,075 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/* eslint-disable import/prefer-default-export */ | ||
export { defineComponent } from '@vue/composition-api'; |
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
Oops, something went wrong.