vbea 3 лет назад
Родитель
Сommit
b86144b92e
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      Strides-APP/app/pages/sign/RegisterV4.js

+ 11 - 0
Strides-APP/app/pages/sign/RegisterV4.js

@@ -152,6 +152,17 @@ export default class RegisterV4 extends React.Component {
   }
 
   onRegister() {
+    Dialog.showProgressDialog();
+    setTimeout(() => {
+      Dialog.dismissLoading();
+      //toastShort('Sign up successfully!');
+      this.setState({
+        visible: true
+      });
+    }, 1000);
+  }
+
+  onRegisterT() {
     //console.log('sign up', this.state);
     var info = this.state.userInfo;
     if (!info.nickName) {