Explorar o código

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

lichao %!s(int64=3) %!d(string=hai) anos
pai
achega
a5b550ee78
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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