From 8fac0db11c31f3ca162f40442a6c7ed1ced518d8 Mon Sep 17 00:00:00 2001 From: bin Date: Wed, 17 Jul 2024 15:38:58 +0800 Subject: [PATCH] =?UTF-8?q?qa=20=E9=97=AE=E9=A2=98=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/views/qa/problem.vue | 2 +- service/app/admin/controller/QaController.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/src/views/qa/problem.vue b/admin/src/views/qa/problem.vue index 2201d882..b6d0edf4 100644 --- a/admin/src/views/qa/problem.vue +++ b/admin/src/views/qa/problem.vue @@ -15,7 +15,7 @@
-
+
{{ item.city_name }}
diff --git a/service/app/admin/controller/QaController.php b/service/app/admin/controller/QaController.php index fc90b201..f833669d 100644 --- a/service/app/admin/controller/QaController.php +++ b/service/app/admin/controller/QaController.php @@ -96,7 +96,7 @@ class QaController extends base $qaQuestion = new QaQuestions(); $qaQuestion->qa_id = $data->id; $qaQuestion->title = $v['title']; - $qaQuestion->content = $v['content']; + $qaQuestion->content = urldecode($v['content']); $qaQuestion->sort = $v['sort']; $qaQuestion->save(); } @@ -127,7 +127,7 @@ class QaController extends base $qaQuestion = new QaQuestions(); $qaQuestion->qa_id = $data->id; $qaQuestion->title = $v['title']; - $qaQuestion->content = $v['content']; + $qaQuestion->content = urldecode($v['content']); $qaQuestion->sort = $v['sort']; $qaQuestion->save(); }