skyblued 2 vuotta sitten
vanhempi
commit
3bc5447d6e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/coursewarePlay/index.tsx

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

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