Skip to content

Commit 890ed44

Browse files
committed
fix lints
1 parent ee5ed30 commit 890ed44

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

src/formGenerator.vue

+21-21
Original file line numberDiff line numberDiff line change
@@ -109,27 +109,27 @@ div.vue-form-generator(v-if='schema != null')
109109
},
110110
111111
computed: {
112-
fields() {
113-
let res = [];
114-
if (this.schema && this.schema.fields) {
115-
each(this.schema.fields, (field) => {
116-
if (!this.multiple || field.multi === true)
117-
res.push(field);
118-
});
119-
}
120-
121-
return res;
122-
},
123-
groups() {
124-
let res = [];
125-
if (this.schema && this.schema.groups) {
126-
each(this.schema.groups, (group) => {
127-
res.push(group);
128-
});
129-
}
130-
131-
return res;
132-
}
112+
fields() {
113+
let res = [];
114+
if (this.schema && this.schema.fields) {
115+
each(this.schema.fields, (field) => {
116+
if (!this.multiple || field.multi === true)
117+
res.push(field);
118+
});
119+
}
120+
121+
return res;
122+
},
123+
groups() {
124+
let res = [];
125+
if (this.schema && this.schema.groups) {
126+
each(this.schema.groups, (group) => {
127+
res.push(group);
128+
});
129+
}
130+
131+
return res;
132+
}
133133
},
134134
135135
watch: {

0 commit comments

Comments
 (0)