我正在尝试使用流在 Angular 中实现图像预览,但无法获得它

问题描述

<img flow-img="blobImage" flow-init>
  • blobImage 变量包含图像的 base64 字符串。
  • 我是否遗漏了什么或语法错误

解决方法

<img flow-img="$flow.files[0]" />

<img flow-img="$blobImage" flow-init />