Vue JS和Laravel项目中的不可见垃圾图标

发布于 2025-01-31 12:46:59 字数 595 浏览 0 评论 0原文

与Vue JS和Laravel后端项目合作。使用iviewui组件作为前端库。但是,以下可用于显示上传文件的垃圾图标的代码段。

<div class="image_thumb" v-if="data.iconImage">
                <img :src="`/uploads/${data.iconImage}`" />
                <div class="demo-upload-list-cover">
                <Icon type="ios-trash-outline" @click="deleteImage"></Icon> // this is line
                </div>

</div>

但是,在此处显示图像时,也不可用的垃圾图标来删除图像。

控制台在此处显示以下错误消息 源地图错误:错误:错误:状态404资源URL失败:http:// localhost:8000/css/all.css源地图url:bootstrap.min.css.map

这里有问题吗?

working with Vue js and Laravel back end project. using iviewui component as front end library. but following code segment available for the displaying trash icon of the uploaded file.

<div class="image_thumb" v-if="data.iconImage">
                <img :src="`/uploads/${data.iconImage}`" />
                <div class="demo-upload-list-cover">
                <Icon type="ios-trash-outline" @click="deleteImage"></Icon> // this is line
                </div>

</div>

but when displaying image here not available trash icon for delete the image as well.

console displaying following error message here
Source map error: Error: request failed with status 404 Resource URL: http://localhost:8000/css/all.css Source Map URL: bootstrap.min.css.map

how could I fix this problem here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文