Ver código fonte

[fit]修改定制历史创建人设的bug

云天逵 7 meses atrás
pai
commit
beda1e1386

+ 11 - 11
lib/module/character_custom/character_custom_controller.dart

@@ -132,12 +132,12 @@ class CharacterCustomController extends BaseController {
     } else if (currentStep.value == StepType.inputName) {
     } else if (currentStep.value == StepType.inputName) {
       currentStep.value = StepType.characters;
       currentStep.value = StepType.characters;
     } else {
     } else {
-      if (isSkipFromHistory.value) {
-        // 跳到定制历史
-        clickHistory();
-
-        return;
-      }
+      // if (isSkipFromHistory.value) {
+      //   // 跳到定制历史
+      //   // clickHistory();
+      //   Get.back();
+      //   return;
+      // }
       Get.back();
       Get.back();
     }
     }
   }
   }
@@ -198,11 +198,11 @@ class CharacterCustomController extends BaseController {
       characterSelectLabels: characterSelectLabels,
       characterSelectLabels: characterSelectLabels,
       characterCustomName: currentNameValue.value,
       characterCustomName: currentNameValue.value,
     );
     );
-    if (isSkipFromHistory.value) {
-    //  跳到定制历史
-      clickHistory();
-
-    }
+    // if (isSkipFromHistory.value) {
+    // //  跳到定制历史
+    //   clickHistory();
+    //
+    // }
   }
   }
 
 
   // 处理下一步
   // 处理下一步