Commit 12f77bd4 authored by 孙浩's avatar 孙浩

标签管理提交时如果是初始值则赋空值

parent f48ef8fe
...@@ -402,7 +402,7 @@ export default { ...@@ -402,7 +402,7 @@ export default {
if (valid) { if (valid) {
if (this.paramsItems.length > 0) { if (this.paramsItems.length > 0) {
if (this.paramsItems.length === 1 && this.paramsItems[0].key === '') { if (this.paramsItems.length === 1 && this.paramsItems[0].key === '') {
this.form.params = undefined this.form.params = null
} else { } else {
// 4.校验paramsItems的值 // 4.校验paramsItems的值
let list = this.filterArray(this.paramsItems) let list = this.filterArray(this.paramsItems)
......
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