Browse Source

Update detail.vue

lex-xin 3 năm trước cách đây
mục cha
commit
8288219dfc
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      src/views/afterClassEvaluate/detail.vue

+ 1 - 3
src/views/afterClassEvaluate/detail.vue

@@ -101,10 +101,8 @@ export default {
       return !!(this.evaluateFlag && this.evaluateFlag > 0);
     },
   },
-  created() {
-		this.tenantId = sessionStorage.getItem('tenantId') || null
-	},
   async mounted() {
+    this.tenantId = sessionStorage.getItem('tenantId') || null
     try {
       // 获取是否有布置作业
       const homeWork = await checkeIsAssignHomework({ courseScheduleId: this.id });