JLChen
2021-02-02 c90de55be7a33e196029c1f4a1bb7f84ea449f29
HDL_ON/UI/MainPage.cs
@@ -26,7 +26,7 @@
        /// <summary>
        /// 版本号
        /// </summary>
        public static string VersionString = "1.1.0111";
        public static string VersionString = "1.1.0119";
        ///// <summary>
        ///// 客户端类型
        ///// </summary>
@@ -91,6 +91,12 @@
                BaseView = Application.MainPage;
                Application.MainPage.BackgroundColor = CSS_Color.MainBackgroundColor;
                //#region 测试
                //var ddd = new UI.test.TestDialog();
                //ddd.InitView();
                //return;
                //#endregion
                if (string.IsNullOrEmpty(OnAppConfig.Instance.LastLoginUserId))
                {
@@ -165,7 +171,6 @@
                addResidencePage.LoadView();
                return;
            }
            new System.Threading.Thread(() =>
            {
                try
@@ -203,11 +208,14 @@
                        };
                        BaseView.AddChidren(BasePageView);
                        //跳转页面----
                        var UserBasePage = new UserPage();
                        BasePageView.AddChidren(UserBasePage);
                        UserBasePage.LoadPage();
                        BasePageView.PageIndex = 0;
                        if (isFirstOpen)
                        {
@@ -226,11 +234,16 @@
                {
                    Application.RunOnMainThread(() =>
                    {
                        if (downloadData)
                        {
                            ///初始化app数据
                            Common.ApiUtlis.Ins.DownloadData();
                        };
                    });
                }
            }).Start();