Explorar o código

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

Abbotton %!s(int64=4) %!d(string=hai) anos
pai
achega
e01852f9b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
     }
 
     /**