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.66k stars 264 forks source link

🐛 [Bug]: tiny-tree-menu 单行数据设置disabled后依然可以选中 #1847

Closed cjy-bit closed 3 months ago

cjy-bit commented 3 months ago

Version

3.17.2

Vue Version

3.17.2

Link to minimal reproduction

https://www.opentiny.design/vue-playground?cmpId=tree-menu&fileName=props.vue&apiMode=Options&mode=pc&theme=smb

Step to reproduce

{ id: 202, name: '后端适配器',disabled:true },

  1. 设置禁用后,依然可以选中
  2. 设置only-check-children后就不存在这个问题

What is expected

No response

What is actually happening

No response

What is your project name

demo

Any additional comments (optional)

No response

wuyiping0628 commented 3 months ago

https://github.com/opentiny/tiny-vue/pull/1736 已经解决了