Browse Source

修改输入人的列表显示

lrf 3 năm trước cách đây
mục cha
commit
0874db09f8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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' };
     },