瀏覽代碼

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