11wqe1 1 anno fa
parent
commit
b8c207a261
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/courseDetail/index.vue

+ 1 - 1
src/views/courseDetail/index.vue

@@ -98,7 +98,7 @@ export default {
   },
   created() {
     console.log('type', this.$route.query)
-    if (!!this.$route.query.urlType) {
+    if (!!this.$route.query.urlType || this.$route.query.urlType == 0) {
       console.log('111');
       sessionStorage.setItem('urlType', this.$route.query.urlType)
       return (this.routeType = sessionStorage.getItem('urlType'))