sunlupeng 2 年之前
父节点
当前提交
c866ace5ce
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/views/postManage/postApprovalList.vue

+ 5 - 0
src/views/postManage/postApprovalList.vue

@@ -372,6 +372,11 @@ export default {
       this.postId = row.postId,
       getDetailInfo({postId:row.postId}).then(response => {
         this.data = response.data.data.data;
+        this.data.forEach(item => {
+          if (item.type == "MCQ") {
+            item.comment = item.comment.split(',');
+          }
+        });
         this.dialogStatus = val;
         this.dialogFormVisible = true;
       }).catch(() => {})