|
@@ -251,13 +251,15 @@ export default {
|
|
if (!this.$refs.form.validate()) {
|
|
if (!this.$refs.form.validate()) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- return this.formItems.options.reduce((res, item) => {
|
|
|
|
- if (item.hide) {
|
|
|
|
- return res
|
|
|
|
- }
|
|
|
|
- res[item.key] = item.value
|
|
|
|
- return res
|
|
|
|
- }, {})
|
|
|
|
|
|
+ return this.formValues
|
|
|
|
+
|
|
|
|
+ // return this.formItems.reduce((res, item) => {
|
|
|
|
+ // if (item.hide) {
|
|
|
|
+ // return res
|
|
|
|
+ // }
|
|
|
|
+ // res[item.key] = item.value
|
|
|
|
+ // return res
|
|
|
|
+ // }, {})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|