修复httpservice获取分页long丢失精度问题
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
model.CountryId = CountryId;
|
||||
|
||||
_ = LoadLanguage();
|
||||
_ = LoadCountry();
|
||||
if (Id > 0)
|
||||
@@ -159,7 +161,7 @@
|
||||
{
|
||||
saving = false;
|
||||
await ModalService.InfoAsync(new ConfirmOptions() { Title = "提示", Content = "数据提交成功!" });
|
||||
Navigation.NavigateTo($"/stateprovince/list");
|
||||
Navigation.NavigateTo($"/stateprovince/list/{CountryId}");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<Breadcrumb>
|
||||
<BreadcrumbItem Href="/">管理后台</BreadcrumbItem>
|
||||
<BreadcrumbItem Href="/settings">系统配置</BreadcrumbItem>
|
||||
<BreadcrumbItem Href="/country/list">系统配置</BreadcrumbItem>
|
||||
<BreadcrumbItem>州省管理</BreadcrumbItem>
|
||||
</Breadcrumb>
|
||||
</Breadcrumb>
|
||||
@@ -131,6 +132,7 @@
|
||||
{
|
||||
try
|
||||
{
|
||||
Console.WriteLine(search.ToJson());
|
||||
pageLoading = true;
|
||||
var url = "/api/stateprovince/search";
|
||||
var apiResult = await HttpService.GetPagingList<StateProvince>(url, search, Page.GetValueOrDefault(1), PageSize.GetValueOrDefault(20));
|
||||
|
||||
Reference in New Issue
Block a user