Jelajahi Sumber

修改输入人的列表显示

lrf 3 tahun lalu
induk
melakukan
0874db09f8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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' };
     },