panhui před 6 roky
rodič
revize
f15f93136c
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 1
      android/app/build.gradle
  2. 0 1
      lib/pages/loginSecond.dart

+ 1 - 1
android/app/build.gradle

@@ -40,7 +40,7 @@ android {
         multiDexEnabled true
         multiDexEnabled true
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
         ndk {
         ndk {
-            // abiFilters 'armeabi-v7a'
+            abiFilters 'armeabi-v7a'
         }
         }
         manifestPlaceholders = [
         manifestPlaceholders = [
                 JPUSH_PKGNAME: applicationId,
                 JPUSH_PKGNAME: applicationId,

+ 0 - 1
lib/pages/loginSecond.dart

@@ -171,7 +171,6 @@ class LoginSecondState extends State<LoginSecond> {
   void sendMsg() async {
   void sendMsg() async {
     Toast.show(context, '加载中', -1, 'loading');
     Toast.show(context, '加载中', -1, 'loading');
     final Result res = await HttpManager.get('rong/sendCode', data: {"phone": widget.phone});
     final Result res = await HttpManager.get('rong/sendCode', data: {"phone": widget.phone});
-    print('错误'+res.error);
     Toast.hide();
     Toast.hide();
     if (res.success) {
     if (res.success) {
       Toast.show(context, '发送成功', 1500, 'success');
       Toast.show(context, '发送成功', 1500, 'success');