opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.67k stars 266 forks source link

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

Open mjl30601901 opened 10 months ago

mjl30601901 commented 10 months ago

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

Issues-translate-bot commented 10 months ago

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


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

Jevin0 commented 10 months ago

上面demo试了可以正常过滤

Issues-translate-bot commented 10 months ago

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


After trying the demo above, it can filter normally.

kagol commented 10 months ago

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

Issues-translate-bot commented 10 months ago

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.