refactor: 重构待办事项模块结构与命名
This commit is contained in:
@@ -44,14 +44,10 @@ public partial class MainWindow : Window
|
||||
{
|
||||
try
|
||||
{
|
||||
if (_appSettings.WebServer.IsUsingStatic)
|
||||
{
|
||||
MainWebView.Url = new Uri(_webServer.BaseUrl);
|
||||
}
|
||||
else
|
||||
{
|
||||
MainWebView.Url = new Uri(_appSettings.WebServer.ForEndUrl);
|
||||
}
|
||||
MainWebView.Url =
|
||||
_appSettings.WebServer.IsUsingStatic
|
||||
? new Uri(_appSettings.WebServer.HostUrl)
|
||||
: new Uri(_appSettings.WebServer.ForEndUrl);
|
||||
|
||||
MainWebView.NavigationCompleted += async (s, e) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user