This commit is contained in:
linfso 2024-10-18 07:27:17 +08:00
parent eb019fe55f
commit 8e473b0d5d

View File

@ -1334,7 +1334,8 @@ export default {
this.form=this.newValue;
console.log("====>newValue this.form==>",this.form);
if(this.form.packType!=null&&this.form.packType!=''){
console.log("====>newValue this.form.packType==>",this.form.packType);
if(this.form.packType!=null&&this.form.packType!=''&&!Array.isArray(this.form.packType)){
this.form.packType=this.form.packType.split(",");
}
@ -1434,7 +1435,7 @@ export default {
// this.form=Object.assign({},this.newValue);
this.form=this.newValue;
if(this.form.packType!=null&&this.form.packType!=''){
if(this.form.packType!=null&&this.form.packType!=''&&!Array.isArray(this.form.packType)){
this.form.packType=this.form.packType.split(",");
console.log("==>this.form.packTypeArr==>",this.form.packTypeArr)