修复cdList字段问题

lijinlongNew
许宏杰 1 month ago
parent 30ef39d6fd
commit 5d5d145c78

@ -3,7 +3,7 @@
<div class="L-assets-info"> <div class="L-assets-info">
<div class="assets-info-top"> <div class="assets-info-top">
<el-row style="margin: 10px 0"> <el-row style="margin: 10px 0">
<span class="top-title-box">基本信息</span> <span class="top-title-box">基本信息11</span>
</el-row> </el-row>
<div class="assets-info-box"> <div class="assets-info-box">
<el-form <el-form
@ -736,9 +736,15 @@ export default {
// //
ptlxChange(item) { ptlxChange(item) {
Object.keys(this.ruleForm).forEach((key) => { Object.keys(this.ruleForm).forEach((key) => {
if (key !== "ssdw" && key !== "ptlx") { if(key =="cdList"){
this.ruleForm[key] = [];
return
}
if (key !== "ssdw" && key !== "ptlx" ) {
this.ruleForm[key] = ""; this.ruleForm[key] = "";
} }
}); });
}, },
// //
@ -773,6 +779,7 @@ export default {
}); });
}); });
} else { } else {
assetOfficialAccount("post", this.ruleForm).then((res) => { assetOfficialAccount("post", this.ruleForm).then((res) => {
// console.log(res,"res"); // console.log(res,"res");
this.loading = false; this.loading = false;

Loading…
Cancel
Save