tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

🐛 [Bug]: menutree组件无法过滤,急急急急急

Open mjl30601901 opened this issue 1 year ago • 5 comments

Version

latest

Vue Version

latest

Link to minimal reproduction

https://opentiny.design/vue-playground?cmpId=tree-menu&fileName=filter-node-method.vue&apiMode=Composition&mode=pc&theme=default

Step to reproduce

:filter-node-method过滤不起作用,即使直接返回false,也无法控制显示和隐藏

What is expected

:filter-node-method为false隐藏

What is actually happening

:filter-node-method为false不隐藏

Any additional comments (optional)

No response

mjl30601901 avatar Jan 11 '24 08:01 mjl30601901

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: The menutree component cannot be filtered, urgent, urgent, urgent

Issues-translate-bot avatar Jan 11 '24 08:01 Issues-translate-bot

上面demo试了可以正常过滤

Jevin0 avatar Jan 12 '24 01:01 Jevin0

Bot detected the issue body's language is not English, translate it automatically.


After trying the demo above, it can filter normally.

Issues-translate-bot avatar Jan 12 '24 01:01 Issues-translate-bot

@mjl30601901 我试了下也是可以过滤的,你的意思是不是不能模糊匹配,目前的过滤是精确关键字匹配的。

kagol avatar Jan 12 '24 03:01 kagol

Bot detected the issue body's language is not English, translate it automatically.


@mjl30601901 I tried it and it can be filtered. Do you mean that it cannot be fuzzy matched? The current filtering is based on precise keyword matching.

Issues-translate-bot avatar Jan 12 '24 03:01 Issues-translate-bot