소스 검색

修复供应商词条提交不了

zhengjinyi 2 년 전
부모
커밋
9b4bb2fc93
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/static/js/supplier-center/encyclopedia/edit.js

+ 1 - 1
src/main/resources/static/js/supplier-center/encyclopedia/edit.js

@@ -351,7 +351,7 @@ const edit = new Vue({
                     textInfoListStr: JSON.stringify(this.formData.textInfoList),
                     imageListStr: JSON.stringify(this.formData.imageList), // 概述图册集合
                     videoListStr:JSON.stringify(this.formData.videoList), // 视频集合
-                    labelIds: this.formData.labelIds.join(',') // 关联标签库列表
+                    labelIds: this.formData.labelIds ? this.formData.labelIds.join(',') : '' // 关联标签库列表
                 };
                 this.sensitiveWordsValidate(params)
             } catch (e) {