From 64effe53c83fb8f29a5acc94d860bebede14e874 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Mon, 18 Feb 2019 18:12:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=9C=B0=E5=9D=80=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9C=AA=E5=AE=9A=E4=B9=89=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Useraddress.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/index/controller/Useraddress.php b/application/index/controller/Useraddress.php index 894df9e72..94f36058d 100755 --- a/application/index/controller/Useraddress.php +++ b/application/index/controller/Useraddress.php @@ -69,6 +69,8 @@ class UserAddress extends Common $params['user'] = $this->user; $data = UserService::UserAddressRow($params); $this->assign('data', $data['data']); + } else { + $this->assign('data', []); } return $this->fetch(); } -- GitLab