Explorar el Código

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

Abbotton hace 4 años
padre
commit
e01852f9b9
Se han modificado 1 ficheros con 1 adiciones y 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();
     }
 
     /**