父组件先校验再同步子组件方法

子组件

 

父组件 必须是return promise 对象

 

posted @ 2024-05-13 17:45  yorking  阅读(1)  评论(0编辑  收藏  举报