Kaynağa Gözat

1.增加分享框使用方法

zhangmengjie 5 yıl önce
ebeveyn
işleme
3f1c210936
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 9 0
      pages/components/SharedDialog.js

+ 9 - 0
pages/components/SharedDialog.js

@@ -232,3 +232,12 @@ export default class SharedDialog extends Component<Props> {
     });
   }
 }
+
+/***
+    使用方法
+   <SharedDialog ref={view => (this.shareddialog = view)} />
+
+  this.shareddialog.setModalVisible(true);//true显示,false消失
+
+
+ */