请求传参,过滤掉参数为空的字段
for (let i in this.form) {
if (this.form.hasOwnProperty(i)) {
if (!this.form[i]) {
this.form[i] = undefined;
}
}
}
for (let i in this.form) {
if (this.form.hasOwnProperty(i)) {
if (!this.form[i]) {
this.form[i] = undefined;
}
}
}