浏览代码

Merge branch 'next' of https://github.com/jdf2e/nutui into next

suzigang 3 年之前
父节点
当前提交
425956af21
共有 1 个文件被更改,包括 2 次插入1 次删除
  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();
             (state.videoElm as any).load();
           });
           });
         }
         }
-      }
+      },
+      { immediate: true, deep: true }
     );
     );
 
 
     watch(
     watch(