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(); }