fix: set internal defaults first
This commit is contained in:
parent
4cb29e56cd
commit
097bf9505f
|
@ -53,6 +53,7 @@ export default class Component {
|
|||
for (const key of keys) {
|
||||
const defaultValue = Schema.defaultValue(properties[key]);
|
||||
if ('undefined' !== typeof defaultValue) {
|
||||
instance[`$$${key}`] = defaultValue;
|
||||
instance[key] = defaultValue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user