Browse Source

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

Abbotton 4 years ago
parent
commit
e01852f9b9
1 changed files with 1 additions and 1 deletions
  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();
     }
 
     /**