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') {