skyblued 2 years ago
parent
commit
5026e5ca4b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/views/coursewarePlay/index.tsx

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

@@ -206,9 +206,7 @@ export default defineComponent({
     })
     // 返回
     const goback = () => {
-      history.go(-1)
-
-      // postMessage({ api: 'back' })
+      postMessage({ api: 'goBack' })
     }
 
     const swipeRef = ref()