Commit 4fa0e9d9 authored by 孙浩's avatar 孙浩

标签管理新增时params非空校验

parent 204223cb
...@@ -399,7 +399,9 @@ export default { ...@@ -399,7 +399,9 @@ export default {
this.form.params = undefined this.form.params = undefined
} else { } else {
this.form.params = JSON.stringify(this.paramsItems.reduce((obj, item) => { this.form.params = JSON.stringify(this.paramsItems.reduce((obj, item) => {
if (item.key !== null && item.key !== '') {
obj[item.key] = item.value obj[item.key] = item.value
}
return obj return obj
}, {})) }, {}))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment