Explorar el Código

fiex:优化节导入

Tang hace 3 años
padre
commit
a7f4fba3b0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/resource/videoManagement/festival/index.vue

+ 2 - 2
src/views/resource/videoManagement/festival/index.vue

@@ -344,11 +344,11 @@ export default {
         .drCourseSectionimportData(formData)
         .then((res) => {
           if (res.code === 200) {
-            if (!res.msg) {
+            if (!res.data.errorLog) {
               self.$message.success("导入成功");
               self.dialogDR = false;
             } else {
-              self.errorData = res.msg;
+              self.errorData = res.data.errorLog;
               self.dialogERROR = true;
             }
           }