From c2ba4edd4cb561d4aabe47db9aa66d339d1e6ab0 Mon Sep 17 00:00:00 2001 From: "Mr.Chung" <39075420+zhongshaofa@users.noreply.github.com> Date: Sun, 19 Sep 2021 00:44:42 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E5=8E=BB=E9=99=A4=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=20(#105)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: chung --- app/common/traits/JumpTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/traits/JumpTrait.php b/app/common/traits/JumpTrait.php index f579758d..330f0251 100644 --- a/app/common/traits/JumpTrait.php +++ b/app/common/traits/JumpTrait.php @@ -39,7 +39,7 @@ protected function success($msg = '', $data = '', $url = null, $wait = 3, array 'wait' => $wait, ]; - $type = $type = $this->getResponseType(); + $type = $this->getResponseType(); if ($type == 'html') { $response = view(app('config')->get('app.dispatch_success_tmpl'), $result); } elseif ($type == 'json') {