Browse Source

课件返回问题

skyblued 2 năm trước cách đây
mục cha
commit
5beb8af94b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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' })
     }