...
This commit is contained in:
@@ -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