Explorar o código

修改输入人的列表显示

lrf %!s(int64=3) %!d(string=hai) anos
pai
achega
0874db09f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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' };
     },