We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
按照作者您的范例,我的写法如下:
const imgList = [ '../assets/img/IMG_0205' ]
const demoList = imgList.map((one,index) => ({ url: 'javacript:', img: one })) 图片路径能找到,但是图片无法加载出来,求解,谢谢
The text was updated successfully, but these errors were encountered:
你可以试试这样
const imgList = [ require('../assets/img/IMG_0205') ]
Sorry, something went wrong.
No branches or pull requests
按照作者您的范例,我的写法如下:
const imgList = [
'../assets/img/IMG_0205'
]
const demoList = imgList.map((one,index) => ({
url: 'javacript:',
img: one
}))
图片路径能找到,但是图片无法加载出来,求解,谢谢
The text was updated successfully, but these errors were encountered: