wxr
2023-07-20 8c28c3f43f91510e3a99189243c17717bdee1a0e
HDL_ON/UI/MainPage.cs
@@ -530,7 +530,10 @@
        public static int LoadEvent_BackAction()
        {
            int result = 0;
            Application.RunOnMainThread(() =>
            {
                try
            {
                if (Inverter.Ins.H5Page.Parent != null)
                {
@@ -554,6 +557,8 @@
                {
                    result = 2;//无法再后退,可以执行退到桌面
                }
                    else
                    {
                if (BasePageView.ChildrenCount > 1)
                {
                    int index = BasePageView.ChildrenCount - 1;
@@ -597,6 +602,11 @@
                {
                    result = 2;//无法再后退,可以执行退到桌面
                }
                    }
                }catch(Exception ex)
                {
                    MainPage.Log($"加载安卓后退异常:{ex.Message}");
                }
            });
            return result;
        }