Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[comp: Image] The icon [file-image] load failed. #1580

Closed
1 task done
AFine970 opened this issue Jun 28, 2023 · 0 comments · Fixed by #1581
Closed
1 task done

[comp: Image] The icon [file-image] load failed. #1580

AFine970 opened this issue Jun 28, 2023 · 0 comments · Fixed by #1581

Comments

@AFine970
Copy link
Contributor

AFine970 commented Jun 28, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://github.com/IDuxFE/idux/blob/ab4e4b0981b1054197878f18c34543be19073a62/packages/components/image/src/Image.tsx#L91C101-L91C101

Steps to reproduce

<template>
  <IxImage :src="imgUrl " />
</template>

<script setup>
const imgUrl = ref('')
</script>

What is expected?

expect icon file-image in the IDUX_ICON_DEPENDENCIES

What is actually happening?

IxImage component use the file-image icon, but the icon did not imported in IDUX_ICON_DEPENDENCIES map

Environment Info

Any additional comments? (optional)

AFine970 added a commit to AFine970/fork-idux that referenced this issue Jun 28, 2023
@danranVm danranVm changed the title [comp: Image] [@idux-vue2/components/icon]: The icon [file-image] load failed. [comp: Image] The icon [file-image] load failed. Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants