...
This commit is contained in:
@@ -164,17 +164,15 @@
|
||||
}
|
||||
private async Task<List<OrderItemDto>> LoadOrderItem()
|
||||
{
|
||||
SpinnerVisible = true;
|
||||
|
||||
var rsp = await hc.Get($"Orders/GetOrderDetails/{order.ID}");
|
||||
if (rsp.IsSuccessStatusCode)
|
||||
{
|
||||
SpinnerVisible = false;
|
||||
return await rsp.Content.ReadFromJsonAsync<List<OrderItemDto>?>();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
SpinnerVisible = false;
|
||||
ShowDangerAlert("خطایی در بارگیری");
|
||||
return new List<OrderItemDto>();
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@
|
||||
<InputFile OnChange="changePic" type="file" id="upload" class="account-file-input" hidden="" accept="image/png, image/jpeg"/>
|
||||
</label>
|
||||
|
||||
<p class="text-muted mb-0">JPG، GIF یا PNG مجاز است. حداکثر اندازه @maxFileSize هزار</p>
|
||||
<p class="text-muted mb-0">JPG، GIF یا PNG مجاز است. حداکثر اندازه 3 megabyte</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -129,7 +129,9 @@
|
||||
public string from { get; set; } = "";
|
||||
|
||||
public string _src { get; set; }
|
||||
private long maxFileSize = 1024 * 15;
|
||||
|
||||
//3m
|
||||
private long maxFileSize = 3145710;
|
||||
[SupplyParameterFromForm]
|
||||
public ChangePasswordDto changepassModel { get; set; }
|
||||
[SupplyParameterFromForm]
|
||||
|
Reference in New Issue
Block a user