Closed lichunn closed 2 weeks ago
The changes in Main.vue
focus on simplifying event handling and state management for tree nodes. The @mouseover
and @mouseleave
events have been updated to directly manipulate the data.showEye
property without using event parameters. The visibility logic for the eye icon has been made clearer by using data.row.showEye
instead of data.row.show
. Additionally, a new showEye
property has been introduced in the filterSchema
function, and CSS styles have been restructured for better organization.
File Path | Change Summary |
---|---|
packages/plugins/tree/src/Main.vue | - Simplified @mouseover and @mouseleave event handlers.- Introduced showEye property in filterSchema .- Updated visibility logic for the eye icon. - Restructured CSS for .tree-handle and added styles for .tree-box . |
.tiny-collapse-item
and other components, which may relate to the styling changes made in Main.vue
regarding the organization of styles and visual feedback for user interactions.bug
, refactor-main
🐰 In the tree where the eye does peek,
A simpler path is what we seek.
With styles anew and logic clear,
Our little changes bring us cheer!
Hopping forth with joy and glee,
The code now dances, wild and free! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Background and solution
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
showEye
property for improved visibility control of tree nodes.