ソースを参照

修改输入人的列表显示

lrf 3 年 前
コミット
0874db09f8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/scientific/award/index.vue

+ 1 - 1
src/views/scientific/award/index.vue

@@ -56,7 +56,7 @@ export default {
     },
     // 查看信息
     async toView(data) {
-      data.person = JSON.stringify(data.person.map((i) => i.userName));
+      data.person = data.person.map((i) => i.userName).join(',');
       this.$set(this, `info`, data);
       this.dialog = { show: true, title: '详细信息', type: '1' };
     },