소스 검색

修复表单跳转异常问题

jqh 4 년 전
부모
커밋
6708359a02
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/Form.php

+ 1 - 2
src/Form.php

@@ -930,8 +930,7 @@ class Form implements Renderable
             return $redirectTo;
         }
 
-        $resourcesPath = $this->builder->isCreating() ?
-            $this->resource(0) : $this->resource(-1);
+        $resourcesPath = $this->resource(-1);
 
         if ($this->request->get('after-save') == 1) {
             // continue editing