lrf402788946 5 vuotta sitten
vanhempi
commit
efef58b41b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/teacher/index.vue

+ 1 - 1
src/views/teacher/index.vue

@@ -106,7 +106,7 @@ export default {
       }
     },
     async toSubmit() {
-      let object = { remark: this.remark, teachersid: this.teachersid, status: '1' };
+      let object = { remark: this.remark, teachersid: this.teachersid.map(i => i._id), status: '1' };
       let res = await this.status(object);
       if (this.$checkRes(res, `确认成功`, res.errmsg)) {
         this.search();