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