Explorar el Código

print + title

hare8999@163.com hace 2 años
padre
commit
008cd2c017
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }
   }
 }