Browse Source

轻会员自测bug修复

lvle 1 year ago
parent
commit
14c70fce39

+ 6 - 2
PDF Office/ViewModels/Dialog/ServiceDialog/UserDialogViewModel.cs

@@ -1,6 +1,7 @@
 using System;
 using System.Runtime.InteropServices;
 using System.Windows;
+using System.Windows.Controls;
 using PDF_Master.CustomControl;
 using PDF_Master.Helper;
 using PDF_Master.Properties;
@@ -178,12 +179,15 @@ namespace PDF_Master.ViewModels.Dialog.ServiceDialog
             LogOutCommand = new DelegateCommand(LogOut);
 
             UserEmail = Settings.Default.UserDate.Email;
-           
+
         }
+
+
         public void UserOut()
         {
             AlertsMessage alertsMessage = new AlertsMessage();
-            alertsMessage.ShowDialog(Text_userouttol, Text_useroutmsg, Text_no, Text_yes);
+            alertsMessage.ShowDialog(Text_userouttol, Text_useroutmsg, "Cancel", "Yes");
+
             if (alertsMessage.result == ContentResult.Ok)
             {
                 ServiceHelper.Get_code("user_log_off", UserEmail);

+ 1 - 1
PDF Office/Views/Dialog/ServiceDialog/CodeRegion.xaml

@@ -252,7 +252,7 @@
                     HorizontalAlignment="Left"
                     VerticalAlignment="Top"
                     Command="{Binding RegisterNextCommand}"
-                    Content="{Binding Text_Signup}"
+                    Content="{Binding CodeTypeName}"
                     IsDefault="True"
                     IsEnabled="{Binding EnableNextStep, Mode=TwoWay}"
                     Style="{StaticResource Btn.cta}" />