Agontuk/vue-cropperjs

初始化不使用默认图片占位

ringgoyao opened this issue · 2 comments

初始化的时候,不想有默认图片占位,如何处理?example里,把imgSrc去掉后,就变成白的了

Sorry, please write in english.

I think that he want to know about how to handle with empty url in component
He can do a ternarie passing a default url

...
imgSrc: url || 'http://localhost/img.png'
...