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

初始图片 #19

Closed
WindStormrage opened this issue Jun 30, 2017 · 4 comments
Closed

初始图片 #19

WindStormrage opened this issue Jun 30, 2017 · 4 comments

Comments

@WindStormrage
Copy link

请问插件的初始图片怎么设置,是不是用imgSrc设置,为什么我设置了显示不出来

image

变成了这样子

image

我图片地址是没问题的

@waynecz
Copy link
Owner

waynecz commented Jul 4, 2017

这里 webpack 设置了 publicPath 吗?

@WindStormrage
Copy link
Author

我是新手,webpack 的配置我没动过,请问是要改哪里呀,,
还有我的其他地方的图片用这个位置是可以显示的呀?

@nevermind123456
Copy link

你这个是因为imgSrc前面没有加冒号吧~

@liaohainan
Copy link

这个图片路径是挺头疼的,我建议实在搞不定就import引入进来,用一个变量去接收,然后绑定到这个组件的imgSrc就不会出问题了

@waynecz waynecz closed this as completed Sep 27, 2017
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

4 participants