From 52e05a5fb6e07afbb14960fc3cbb8a8971e19eb2 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 25 十一月 2020 20:08:56 +0800
Subject: [PATCH] 2020-11-25 1.TOKEN过期刷新处理

---
 HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
index fb69eb6..b2b32f8 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
@@ -148,7 +148,7 @@
         void LoadFunctionRow(List<ShareData>  shareDatas)
         {
             contentView.RemoveAll();
-            foreach (var function in room.functions)
+            foreach (var function in room.GetRoomFunctions(false))
             {
                 var roomView = new FrameLayout()
                 {
@@ -180,7 +180,7 @@
                     Tag = "ChooseIcon"
                 };
                 roomView.AddChidren(btnChoose);
-                if (shareDatas.Find((obj) => obj.ShareName == function.sid) != null)
+                if (shareDatas.Find((obj) => obj.fileName == function.sid) != null)
                 {
                     btnChoose.IsSelected = true;
                 }
@@ -194,12 +194,12 @@
                 var btnLine = new Button()
                 {
                     Gravity = Gravity.CenterHorizontal,
-                    Y = Application.GetRealHeight(49),
-                    Height = Application.GetMinReal(1),
+                    //Y = Application.GetRealHeight(49),
+                    Height = Application.GetRealHeight(1),
                     Width = Application.GetRealWidth(343),
                     BackgroundColor = CSS_Color.DividingLineColor,
                 };
-                roomView.AddChidren(btnLine);
+                contentView.AddChidren(btnLine);
             }
         }
 

--
Gitblit v1.8.0