heyang 11 місяців тому
батько
коміт
ec4afe60fe

+ 1 - 1
src/components/importComponent/importComponent.vue

@@ -154,7 +154,7 @@
             this.$parent.$parent.$parent.getList();
           }
         }else{
-          this.msgError(res.msg);
+          this.msgError(res.message);
         }
         this.loading = false;
       },

+ 1 - 1
src/views/safetyEducationExam/safeLearning/el_course/index.vue

@@ -69,7 +69,7 @@
               <el-table-column label="状态" align="left" prop="status" width="90">
                 <template slot-scope="scope">
                   <el-switch
-                    v-hasPermiRouter="['exam:el_course:edit']"
+                    v-hasPermiRouter="['exam:elCourse:add','exam:elCourse:edit']"
                     class="switch"
                     @change="switchChange(scope.row)"
                     v-model="scope.row.status+''"