Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Stream是不是不能加载网络图片? #1

Description

@ioer2008

@if (_stream != null)
{
<ImageCropper @ref="_cropper" Stream="@_stream" DefaultButton="false" OnBase64Result="OnResult"/>
}

[Parameter, EditorRequired] public string ImgUrl { get; set; }

protected override async Task OnInitializedAsync()
{
if (!string.IsNullOrWhiteSpace(ImgUrl))
{
_stream = await ImgUrl.GetStreamAsync();
}
},

你好,请教一下,我所有的图片都是存放在阿里云oss里面的,我使用flurl下载stream是不是无法加载,必须先download到本地才能加载?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions