Преглед изворни кода

Merge remote-tracking branch 'origin/dev' into dev

lichao пре 3 година
родитељ
комит
a5b550ee78
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/views/basicData/productInformation/detailsPageEdit.vue

+ 3 - 1
src/views/basicData/productInformation/detailsPageEdit.vue

@@ -450,7 +450,9 @@ export default {
             this.form.goodsTypeId = this.form.goodsTypeId.join(',')
           }
           if (!this.form.artsVision) this.$set(this.form, 'artsVisionName', null);
-          this.form.artsVision = this.form.artsVision.join(',')
+          if (this.form.artsVision) {
+            this.form.artsVision = this.form.artsVision.join(',')
+          }
           const params = {
             ...this.form,
             type: 0