Explorar el Código

'课程表bug'

Rorschach hace 5 años
padre
commit
f871cf0cca
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      pages/components/SchedulePage.js

+ 3 - 3
pages/components/SchedulePage.js

@@ -278,9 +278,9 @@ export default class SchedulePage extends BasePage {
   changeUrl(data) {
     //切换视频并且播放
     // alert(url);
-    if (this.state.playing_key == data.key) {
-      return;
-    }
+    // if (this.state.playing_key == data.key) {
+    //   return;
+    // }
     const handle = findNodeHandle(this.video_image);
     setTimeout(() => {
       UIManager.measure(handle, (x, y, width, height, pageX, pageY) => {