Modal的使用
1、打开Modal,
MyPage是一个Page页,onDidDismiss是MyPage关掉后的回调方法, data是传递过来的数据
2、MyPage
注入ViewController
然后通过view的dismiss关闭MyPage,并且传递data参数。