Skip to content

Commit

Permalink
修改外部地址菜单刷新的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuLiang authored and LiuLiang committed Jan 8, 2019
1 parent ce700fb commit 918560f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions demo/WalkingTec.Mvvm.ApiDemo/ApiTestController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ public IActionResult ExportExcel(FrameworkUserSearcher searcher)

[HttpPost("ExportExcelByIds")]
[ActionDescription("导出")]
public IActionResult ExportExcelByIds(List<Guid> ids)
public IActionResult ExportExcelByIds(Guid[] ids)
{
var vm = CreateVM<FrameworkUserListVM>();
if (ids != null && ids.Count > 0)
if (ids != null && ids.Count() > 0)
{
vm.Ids = ids;
vm.Ids = new List<Guid>(ids);
vm.SearcherMode = ListVMSearchModeEnum.CheckExport;
}
var data = vm.GenerateExcel();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 918560f

Please sign in to comment.