ExportMap/Models/ExportArgs.cs
@@ -71,5 +71,16 @@ /// X最大 /// </summary> public double xmax { set; get; } public void SetDefault() { if (string.IsNullOrWhiteSpace(title)) title = "管道基础大数据平台"; if (string.IsNullOrWhiteSpace(province)) province = string.Empty; if (string.IsNullOrWhiteSpace(scale)) scale = string.Empty; if (string.IsNullOrWhiteSpace(resolution)) resolution = string.Empty; if (string.IsNullOrWhiteSpace(date)) date = DateTime.Now.ToString("yyyy.MM.dd"); imgPath = ""; } } }