Skip to content
Advertisement

Tag: element-ui

this.$refs.upload.submit(); not returning response Element-UI

I’m using element-ui and I’m uploading a file with: How can I get the reponse from this.$refs.upload.submit();? I already tried: I know the submit() needs some sort of promise. I just don’t know what to change, I just want to get the error messages. Answer I am not to familiar with element-ui but custom components almost always have events that

Advertisement