Explorar o código

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

云天逵 hai 7 meses
pai
achega
beda1e1386
Modificáronse 1 ficheiros con 11 adicións e 11 borrados
  1. 11 11
      lib/module/character_custom/character_custom_controller.dart

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

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