소스 검색

修复扩展设置弹窗表单提交后需要手动关闭弹窗的问题

Abbotton 4 년 전
부모
커밋
e01852f9b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Extend/Setting.php

+ 1 - 1
src/Extend/Setting.php

@@ -43,7 +43,7 @@ abstract class Setting extends Form implements LazyRenderable
     {
         $this->extension()->config($this->formatInput($input));
 
-        return $this->response()->success(trans('admin.save_succeeded'));
+        return $this->response()->success(trans('admin.save_succeeded'))->refresh();
     }
 
     /**