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

vue3.0版本图片上传完成后不会追加新的上传框 #498

Open
phk1042791021 opened this issue Aug 11, 2021 · 2 comments
Open

vue3.0版本图片上传完成后不会追加新的上传框 #498

phk1042791021 opened this issue Aug 11, 2021 · 2 comments

Comments

@phk1042791021
Copy link

上传图片后不追加新的上传框,
并且当前点击的上传框也不会出现预览删除编辑等操作。
如图:
https://z3.ax1x.com/2021/08/11/fNZ50x.png
会在图片顶部显示加号,点击加号会重新选择上传图片。
图片上传没有问题,显示也正常
页面初始化的时候会正常在图片后面追加上传框
请教一下如何解决,多谢

@phk1042791021
Copy link
Author

临时解决方案:
src/component/base/upload-image/index.vue
setImgInfo中
this.itemList[index] = createItem(imgInfoList[0], this.itemList[index])
替换为
this.itemList[index] = createItem(imgInfoList[0])

@ElanYoung
Copy link

这个啥时候修复呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants