lrf402788946 4 年之前
父节点
当前提交
edb60d3449
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/classes/parts/class-info.vue

+ 1 - 1
src/views/classes/parts/class-info.vue

@@ -90,7 +90,7 @@ export default {
       }
     },
     getly(id) {
-      let res = this.lyTeacherList.find(i => (i.id = id));
+      let res = this.lyTeacherList.find(i => i.id == id);
       if (res) return res.name;
     },
   },