{{ clazzChild.className }}
@@ -198,7 +198,7 @@
授课端同步:
{{ clazzChild.className }}
@@ -649,17 +649,16 @@ export default {
_delete() {
},
- async _print(item){
+ _print(item) {
this.$loading.open();
- const { data, status, info } = await this.$request.tPaperDetail({
- paperId: item.id
- });
- this.$loading.close();
- if (status != 0) {
- this.$message.error(info);
- return;
- }
- await paperPrint(data);
+ this.$request.tPaperDetail({ paperId: item.id }).then(({ data, status, info }) => {
+ if (status != 0) {
+ this.$message.error(info);
+ return;
+ }
+ paperPrint(data);
+ this.$loading.close();
+ })
},
_updateQ(item) {