mirror of
https://github.com/ThingsGateway/ThingsGateway.git
synced 2026-10-29 04:16:49 +08:00
fix:特殊情况下无法获取程序集文件修改日期,所以去除 页脚-编译时间显示
This commit is contained in:
@@ -45,7 +45,7 @@ public partial class Foter
|
||||
var assembly = Assembly.GetEntryAssembly();
|
||||
if (assembly != null)
|
||||
{
|
||||
Version = $"v{assembly.GetName().Version} {new System.IO.FileInfo(assembly.Location).LastWriteTime.ToDefaultDateTimeFormat()}";
|
||||
Version = $"v{assembly.GetName().Version}";
|
||||
}
|
||||
|
||||
await base.OnParametersSetAsync();
|
||||
|
||||
Reference in New Issue
Block a user