✌️
This commit is contained in:
parent
df8a2aea35
commit
cf1f2562d7
4 changed files with 34 additions and 13 deletions
|
|
@ -25,7 +25,6 @@ export default function<T extends object>(data: {
|
|||
};
|
||||
},
|
||||
created() {
|
||||
if (this.widget.data == null) this.widget.data = {};
|
||||
if (this.props) {
|
||||
Object.keys(this.props).forEach(prop => {
|
||||
if (this.widget.data.hasOwnProperty(prop)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue