why emit this event
MoonBottle opened this issue · comments
hello, author
when i read your code, i find some code like this
let success = this.$emit('upload-success', xhr.responseText)
so why emit this event in here , because i can't find any useage
thank u
when the image upload success , this emit will be trigger.
See component-attributes upload props.
if you don't wanna default upload-success
function execute.
You can define this emit, and return false
.
See Component-Events
soga, i know ... thanks ~~