11wqe1 2 months ago
parent
commit
c0123f43d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/index.vue

+ 1 - 1
src/components/index.vue

@@ -303,9 +303,9 @@ export default {
       this.$forceUpdate();
       this.$forceUpdate();
     },
     },
     goTo(path,id) {
     goTo(path,id) {
+      this.$router.push(path);
       this.addOp3('1', "", { courseid: id,type: "course_open" }, "success")
       this.addOp3('1', "", { courseid: id,type: "course_open" }, "success")
 
 
-      this.$router.push(path);
     },
     },
     //获取专区下的课程
     //获取专区下的课程
     getZoneClass(zid) {
     getZoneClass(zid) {