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

🐛 [Bug]: el-rate 组件 max prop 设置无效

Open MarkoLING opened this issue 1 year ago • 3 comments

Environment

windows Google

Version

v18.17.0

Version

latest

Link to minimal reproduction

这是组件的部分schema image

这是设置max后显示异常 image

Step to reproduce

拖入el-rate后,设置max属性,组件显示异常

What is expected

No response

What is actually happening

No response

What is your project name

tiny-engine

Any additional comments (optional)

No response

MarkoLING avatar Jul 22 '24 01:07 MarkoLING

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


Title: 🐛 [Bug]: el-rate component max prop setting is invalid

Issues-translate-bot avatar Jul 22 '24 01:07 Issues-translate-bot

image element-plus 中, max 属性应该是 number 类型。 物料配置里面,如果用 MetaInput ,得到的则会是 string 类型。所以改成 MetaNumber 即可。

@MarkoLING

chilingling avatar Jul 25 '24 00:07 chilingling

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


image In element-plus, the max attribute should be of type number. In the material configuration, if you use MetaInput, the result will be string type. So change it to MetaNumber.

@MarkoLING

Issues-translate-bot avatar Jul 25 '24 00:07 Issues-translate-bot