|
@@ -38,7 +38,8 @@ namespace PDF_Master.Views.HomePanel.ChatGPTAI
|
|
|
|
|
|
private async void Grid_Drop(object sender, DragEventArgs e)
|
|
|
{
|
|
|
-
|
|
|
+ DropColorBorder.Visibility = Visibility.Hidden;
|
|
|
+ NormalColorBorder.Visibility = Visibility.Visible;
|
|
|
try
|
|
|
{
|
|
|
Point iconPoint = e.GetPosition(this);
|
|
@@ -112,7 +113,8 @@ namespace PDF_Master.Views.HomePanel.ChatGPTAI
|
|
|
}
|
|
|
}
|
|
|
isFirst = false;
|
|
|
- viewModel.ErrorTipText = newfile;
|
|
|
+ if (newfile == "-1") { return; }
|
|
|
+ viewModel.ErrorTipText = ChatGTPAIHelper.GetBaiduTranslationCode(newfile);
|
|
|
viewModel.ErrorTipVisible = Visibility.Visible;
|
|
|
}
|
|
|
}
|