Parcourir la source

课件返回问题

skyblued il y a 2 ans
Parent
commit
5beb8af94b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/views/coursewarePlay/index.tsx

+ 1 - 0
src/views/coursewarePlay/index.tsx

@@ -301,6 +301,7 @@ export default defineComponent({
       } catch (error) {}
       if (route.query.source == 'my-course') {
         router.back()
+        return
       }
       postMessage({ api: 'goBack' })
     }