From 54ada3b3c6c58da67dda2ecaea4b19b42ab5c257 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 29 三月 2023 17:51:47 +0800 Subject: [PATCH] 1.改用萤石动态库,解决openssl版本冲突问题 2.设备回调成功增加返回设备序列号 3.优化部分功能 --- EZSDK/EZSDK/EZ/TempPassword/Controllers/HDLEZVisitorRecordViewController.m | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/EZSDK/EZSDK/EZ/TempPassword/Controllers/HDLEZVisitorRecordViewController.m b/EZSDK/EZSDK/EZ/TempPassword/Controllers/HDLEZVisitorRecordViewController.m index ef6ab69..d558857 100755 --- a/EZSDK/EZSDK/EZ/TempPassword/Controllers/HDLEZVisitorRecordViewController.m +++ b/EZSDK/EZSDK/EZ/TempPassword/Controllers/HDLEZVisitorRecordViewController.m @@ -47,7 +47,7 @@ } -(void)addSubViews{ - + [super addSubViews]; // _visitorRecordV=[[HDLEZVisitorRecordView alloc] init]; [self.view addSubview:_visitorRecordV]; @@ -80,9 +80,11 @@ [weakSelf.header endRefreshing]; if (responseData.success) { weakSelf.visitorRecordV.temPList=[NSArray yy_modelArrayWithClass:[HDLEZTemInfoModel class] json:responseData.data]; -// if (weakSelf.visitorRecordV.temPList.count==0) { -// -// } + if (weakSelf.visitorRecordV.temPList.count==0) {//灞曠ず鏃犳暟鎹� + [weakSelf showNoDataViewWithMessage:HDLEZLocallizedString(@"hdl_ez_common_no_data")]; + }else{ + [weakSelf hideNoDataView]; + } }else{ [weakSelf.view makeToast:responseData.message duration:1.5 -- Gitblit v1.8.0