Explorar el Código

修改评价id

YY hace 2 años
padre
commit
245c6bf348
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/platmanag/goodsRate/index.vue

+ 1 - 1
src/views/platmanag/goodsRate/index.vue

@@ -72,7 +72,7 @@ export default {
     },
     // 修改
     async toEdit({ data }) {
-      this.$set(this, `id`, data.id);
+      this.$set(this, `id`, data._id);
       this.$set(this, `view`, 'info');
     },