新增地址数据未定义修复

This commit is contained in:
devil_gong 2019-02-18 18:12:00 +08:00
parent 4be3cc0ad5
commit 64effe53c8

View File

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