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

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

parent 204223cb
......@@ -399,7 +399,9 @@ export default {
this.form.params = undefined
} else {
this.form.params = JSON.stringify(this.paramsItems.reduce((obj, item) => {
obj[item.key] = item.value
if (item.key !== null && item.key !== '') {
obj[item.key] = item.value
}
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