浏览代码

Update teacherButton.vue

lex 1 年之前
父节点
当前提交
ee124fdaa6
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/contentManager/components/teacherButton.vue

+ 3 - 0
src/views/contentManager/components/teacherButton.vue

@@ -403,6 +403,9 @@ export default {
           this.form.title = rows.title;
           this.form.order = rows.order;
           this.form.linkUrl = rows.linkUrl;
+          this.form.organIdList = rows.organIdList
+            ? rows.organIdList.split(",").map(item => Number(item))
+            : [];
           this.form.coverImage = rows.coverImage;
           this.form.subType = rows.subType;
           this.form.memo = rows.memo;