소스 검색

print + title

hare8999@163.com 2 년 전
부모
커밋
008cd2c017
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/elective/dispatch/master/info/student.vue

+ 1 - 1
src/views/elective/dispatch/master/info/student.vue

@@ -154,7 +154,7 @@ export default {
     },
     handlePrint() {
       // 要打印的节点,页面标题
-      this.print(this.$refs.table.$el.outerHTML, '长沙市103中2021学年第1次选科分班信息');
+      this.print(this.$refs.table.$el.outerHTML, this.title);
     }
   }
 }