浏览代码

修复供应商词条提交不了

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) {