From 66d54c93375e0e0b2f1a86f6b29a744fa1cdca73 Mon Sep 17 00:00:00 2001 From: shuixiang Date: Sat, 11 Sep 2021 17:09:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=A7=E5=93=81=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=97=AE=E9=A2=98=E2=80=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AdminSupplier/Controllers/ProductController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/AdminSupplier/Controllers/ProductController.php b/app/AdminSupplier/Controllers/ProductController.php index fbfc01b..4e7947a 100644 --- a/app/AdminSupplier/Controllers/ProductController.php +++ b/app/AdminSupplier/Controllers/ProductController.php @@ -241,7 +241,7 @@ class ProductController extends AdminController } DB::commit(); - return $form->response()->success('更新成功!')->script('history.go(-1)'); + return $form->response()->success('更新成功!')->redirect('product/list'); } catch (\Exception $exception) { DB::rollBack(); return $form->response()->error($exception->getMessage());