Closed Mister-Hope closed 6 months ago
Downstream env will often provide complicated config object, e.g.:
{
"text": "ABC",
"link": "/ABC.html",
"icon": "abc"
"children": [
// ...
]
}
For the current prop, developers and users must declare every props, otherwise the default inheritAttrs
behavior will make extra configuraion be element props, and compilated ones will become Object object
, further more, when setting element preserved keys (e.g.: children), warnings are displayed by Vue telling those keys only have getter.
Pull Request Test Coverage Report for Build 9107201498
Details
💛 - Coveralls