Blazor:RequestImageFileAsync 方法的參數名稱已變更

RequestImageFileAsync 方法的 maxWith 參數已從 maxWith 重新命名為 maxWidth

導入的版本

ASP.NET Core 6.0

舊的行為

參數名稱拼寫為 maxWith

新的行為

參數名稱拼寫為 maxWidth

變更原因

原始參數名稱是拼字錯誤。

如果您在 RequestImageFile API 中使用具名參數,請將 maxWith 參數名稱更新為 maxWidth。 否則,不需要變更。

受影響的 API

BrowserFileExtensions.RequestImageFileAsync