11wqe1 4 тижнів тому
батько
коміт
08b48d92d3

+ 1 - 3
src/components/pages/test/add/addTest.vue

@@ -4,7 +4,7 @@
             <div class="right">
                 <div class="courseTop">
                     <div class="stepsNav">
-                        <el-breadcrumb v-if="!gotype" separator-class="el-icon-arrow-right">
+                        <el-breadcrumb separator-class="el-icon-arrow-right">
                             <el-breadcrumb-item v-if="!back" :to="{
                                 path:
                                     '/test?userid=' +
@@ -124,8 +124,6 @@ export default {
                 })
                 .then(() => {
                   console.log(this.back)
-                        if (this.gotype) return this.$router.go(-1)
-
                         if(!this.back){
                           this.goTo(
                             "/test?userid=" +

+ 1 - 4
src/components/pages/test/check/index.vue

@@ -4,7 +4,7 @@
       <div class="right">
         <div class="courseTop" >
           <div class="stepsNav" v-if="!examineId">
-            <el-breadcrumb v-if="!gotype" separator-class="el-icon-arrow-right">
+            <el-breadcrumb separator-class="el-icon-arrow-right">
               <el-breadcrumb-item
               v-if="!back"
                 :to="{
@@ -2070,7 +2070,6 @@ export default {
   },
   data() {
     return {
-      gotype:sessionStorage.getItem('gotype'),
       aiscoId:'',
       aiscoLoading:true,
       cueWord:{
@@ -2767,8 +2766,6 @@ for (let index = 0; index < val.array.length; index++) {
       // });
     },
     retrunCourse() {
-      if (this.gotype) return this.$router.go(-1)
-
       if(!this.back){
         this.goTo(
         "/test?userid=" +