Browse Source

fixed 提交 0008234: 【搜索框】个人信息-我的设备 / 机构管理-机构设备的设备查询框

MIke 2 years ago
parent
commit
6297df7338
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Service/DeviceService.cs

+ 1 - 0
Service/DeviceService.cs

@@ -340,6 +340,7 @@ namespace WingDeviceService.Service
             {
                 deviceList = deviceList.Where(d => d.DeviceModel == request.DeviceModel)?.ToList() ?? new List<DeviceExtendInfoDTO>();
             }
+            request.KeyWord = request.KeyWord.Trim();
             if (!string.IsNullOrWhiteSpace(request.KeyWord))
             {
                 var keyword = request.KeyWord.ToLower();