From b4e1288a9b63eb820e9c9489c56aac4bf6b31067 Mon Sep 17 00:00:00 2001
From: Davin <591807572@qq.com>
Date: 星期三, 18 十二月 2024 14:34:16 +0800
Subject: [PATCH] feature 图片资源更新

---
 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