tiny-engine
tiny-engine copied to clipboard
🐛 [Bug]: el-rate 组件 max prop 设置无效
Environment
windows Google
Version
v18.17.0
Version
latest
Link to minimal reproduction
这是组件的部分schema
这是设置max后显示异常
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
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: el-rate component max prop setting is invalid
element-plus 中, max 属性应该是 number 类型。
物料配置里面,如果用
MetaInput ,得到的则会是 string 类型。所以改成 MetaNumber 即可。
@MarkoLING
Bot detected the issue body's language is not English, translate it automatically.
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