Browse Source

fix: video无法动态切换url

Drjnigfubo 3 years ago
parent
commit
370c0e34de
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/packages/__VUE/video/index.vue

+ 2 - 1
src/packages/__VUE/video/index.vue

@@ -143,7 +143,8 @@ export default create({
             (state.videoElm as any).load();
           });
         }
-      }
+      },
+      { immediate: true, deep: true }
     );
 
     watch(