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

✨ [Feature]: Tabs功能,为什么key只能是 string 类型,不能是 number或 string类型, 而且为什么不能有 extra 额外的插槽

Open G-Akiraka opened this issue 1 month ago • 3 comments

What problem does this feature solve

1、使用的时候key 可能是number类型,但是实际使用中,只能是 string 这种就不合理,导致我想需要id数据,那么必须先转换 string,然后其他地方在转换回来,其他ui框架别人同时志成2种类型 2、添加额外插槽,这样就可以在最右边可以自定义很多功能,比如增加按钮

What does the proposed API look like

没有

What is your project name

quark

G-Akiraka avatar Nov 13 '25 06:11 G-Akiraka

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


Title: ✨ [Feature]: Tabs function, why the key can only be of string type, not number or string type, and why there cannot be extra extra slots

Issues-translate-bot avatar Nov 13 '25 06:11 Issues-translate-bot

其中一大堆类似都有这种问题,必须string 就很奇怪,正常应该都支持 string和number才对

G-Akiraka avatar Nov 13 '25 06:11 G-Akiraka

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


A lot of them have this kind of problem. It's strange that string is required. Normally, string and number should be supported.

Issues-translate-bot avatar Nov 13 '25 06:11 Issues-translate-bot