Browse Source

添加手动合并数据库

宝臣 王 3 tháng trước cách đây
mục cha
commit
e22e499169

+ 2 - 2
UniformMaterialManagementSystem/ViewModels/ContractPageViewModel.cs

@@ -575,7 +575,7 @@ namespace UniformMaterialManagementSystem.ViewModels
         /// 导出数据包
         /// </summary>
         [RelayCommand]
-        private void ExportDataPacket()
+        private async Task ExportDataPacket()
         {
             if (UnExportContracts.Count == 0) return;
 
@@ -647,7 +647,7 @@ namespace UniformMaterialManagementSystem.ViewModels
             }
 
             //对导出数据进行加密,用户选择保存位置
-            DataBaseUtil.ExportData();
+           await DataBaseUtil.ExportData();
         }
 
         /// <summary>