Browse Source

轻会员-比较表弹窗更换

lvle 1 year ago
parent
commit
2fcf5ccd15
1 changed files with 11 additions and 2 deletions
  1. 11 2
      PDF Office/Helper/ServiceHelper.cs

+ 11 - 2
PDF Office/Helper/ServiceHelper.cs

@@ -284,8 +284,17 @@ namespace PDF_Master.Helper
             //删掉 Settings.Default.UserDate.isInFreeUseTime == false,没有试用期了;
             if (!App.IsLogin)
             {
-                App.mainWindowViewModel.dialogs.ShowDialog(DialogNames.IAPCompareDialog);
-                return false;
+                if(Settings.Default.UserDate.Email=="")
+                {
+                    App.mainWindowViewModel.OpenRegister();
+                    return false;
+                }
+                else
+                {
+                    App.mainWindowViewModel.OpenLogin();
+                    return false;
+                }
+                
             }
             return true;
         }