Commit 3834d633 authored by 姬鋆屾's avatar 姬鋆屾

fixed:修改新闻类型选择其他类型后,关联企业没有清空的问题

parent b9b7a07b
......@@ -230,6 +230,7 @@ export default {
data.relatedCompany instanceof Array
? (data.relatedCompany = data.relatedCompany.join(","))
: "";
data.categoryId != 1 ? (data.relatedCompany = "") : "";
return data;
},
afterSubmit(data) {
......
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