wq 5 anni fa
parent
commit
96f2751a14
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      src/layout/institution/newsInfo.vue

+ 3 - 2
src/layout/institution/newsInfo.vue

@@ -111,8 +111,9 @@ export default {
       this.$emit('handleCurrentChange', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
     },
     handleClick(id) {
-      console.log(id.id);
-      let newid = id.id;
+      console.log(JSON.stringify(id));
+      console.log(id._id);
+      let newid = id._id;
 
       this.$emit('handleClick', newid);
     },