From 605bd6a4fe911aa948484942e9cda5891b3703f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Thu, 18 May 2023 11:24:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=9A=84=E8=BF=9C=E7=A8=8B=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E5=80=BC=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/model/Config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/admin/model/Config.php b/app/admin/model/Config.php index eb72f87c..9b2e9acc 100644 --- a/app/admin/model/Config.php +++ b/app/admin/model/Config.php @@ -46,6 +46,8 @@ class Config extends Model return (bool)$value; } elseif ($row['type'] == 'editor') { return !$value ? '' : htmlspecialchars_decode($value); + } elseif ($row['type'] == 'remoteSelect' && strpos($value, ',')) { + return explode(',', $value); } elseif ($row['type'] == 'city') { if ($value == '') { return [];