We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本次报错原因,组件Component properties 属性 多类型配置错误导致
错误配置如下: properties: { lastLeaf: String|Number }
正确配置 properties: { lastLeaf: { // 这个属性可以是 Number 、 String 、 Boolean 三种类型中的一种 type: Number, optionalTypes: [String, Object], value: 0 } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
本次报错原因,组件Component properties 属性 多类型配置错误导致
错误配置如下:
properties: {
lastLeaf: String|Number
}
正确配置
properties: {
lastLeaf: {
// 这个属性可以是 Number 、 String 、 Boolean 三种类型中的一种
type: Number,
optionalTypes: [String, Object],
value: 0
}
}
The text was updated successfully, but these errors were encountered: