Blazor:RequestImageFileAsync 方法中的参数名称已更改
RequestImageFileAsync
方法的 maxWith
参数已从 maxWith
重命名为 maxWidth
。
引入的版本
ASP.NET Core 6.0
旧行为
参数名称的拼写为 maxWith
。
新行为
参数名称的拼写为 maxWidth
。
更改原因
原始参数名称存在录入错误。
建议的操作
如果使用的是 RequestImageFile
API 中的命名参数,请将 maxWith
参数名称更新为 maxWidth
。 否则,不需要进行任何更改。