This commit is contained in:
辉鸭蛋
2024-11-22 22:36:32 +08:00
parent 258848edba
commit e3689cd21a
2 changed files with 6 additions and 8 deletions

View File

@@ -77,11 +77,9 @@
<!-- 分割 -->
<ui:FontIcon Grid.Column="1"
HorizontalAlignment="Center"
FontFamily="Segoe Fluent Icons"
Glyph="&#xE784;" />
HorizontalAlignment="Center" Glyph="&#xf7a5;" Style="{StaticResource FaFontIconStyle}" />
<GridSplitter Grid.Column="1"
Width="16"
Width="12"
HorizontalAlignment="Stretch"
Background="{DynamicResource ControlStrongFillColorDisabledBrush}"
Focusable="False"
@@ -89,7 +87,7 @@
<!-- 右侧栏:无选中组 -->
<Border Grid.Column="2"
Margin="8"
Margin="6"
Background="{ui:ThemeResource CardBackgroundFillColorDefaultBrush}"
BorderBrush="{ui:ThemeResource CardStrokeColorDefaultBrush}"
BorderThickness="1,1,1,1"
@@ -142,7 +140,7 @@
<!-- 右侧栏:选中组 -->
<Border Grid.Column="2"
Margin="8"
Margin="6"
Background="{ui:ThemeResource CardBackgroundFillColorDefaultBrush}"
BorderBrush="{ui:ThemeResource CardStrokeColorDefaultBrush}"
BorderThickness="1,1,1,1"

View File

@@ -81,11 +81,11 @@ public partial class MainWindowViewModel : ObservableObject, IViewModel
catch (Exception e)
{
Console.WriteLine(e);
_logger.LogError("PaddleOcr预热异常" + e.Source + "\r\n--" + Environment.NewLine + e.StackTrace + "\r\n---" + Environment.NewLine + e.Message);
_logger.LogError("PaddleOcr预热异常解决方案https://bgi.huiyadan.com/faq.html" + e.Source + "\r\n--" + Environment.NewLine + e.StackTrace + "\r\n---" + Environment.NewLine + e.Message);
var innerException = e.InnerException;
if (innerException != null)
{
_logger.LogError("PaddleOcr预热内部异常" + innerException.Source + "\r\n--" + Environment.NewLine + innerException.StackTrace + "\r\n---" + Environment.NewLine + innerException.Message);
_logger.LogError("PaddleOcr预热内部异常解决方案https://bgi.huiyadan.com/faq.html" + innerException.Source + "\r\n--" + Environment.NewLine + innerException.StackTrace + "\r\n---" + Environment.NewLine + innerException.Message);
throw innerException;
}
else