lsc 1 年之前
父节点
当前提交
8da7b7be5c

+ 0 - 1
src/components/pages/testPerson/test/test.vue

@@ -626,7 +626,6 @@ export default {
     },
     mounted() {
         this.selectTestType();
-        this.getWorks();
     }
 };
 </script>

+ 2 - 0
src/components/pages/testStudent/view/component/file.vue

@@ -454,6 +454,7 @@ export default {
                                 }
                                 _this.$forceUpdate();
 
+                                _this.$emit('update:cJson', _this.checkJson)
                                 console.log(_this.checkJson);
                                 console.log(data.Location);
                             }
@@ -569,6 +570,7 @@ export default {
         },
         delFile(index) {
             this.checkJson.file.splice(index, 1)
+            this.$emit('update:cJson', this.checkJson)
             this.$forceUpdate();
         },
         uploadCourse() {