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
Tag: element-ui
How can I formatt a value in v-for inside a el-option in element ui
I need formatt to decimal value the value in label(item.value) inside a v-for. Here is my code: I already have a function to formatt: import { numberFormat } from ‘@/utils/cells-format’ So how can I use this function to formatt the value in v-for? (Im new in vuejs) Answer You can directly use the function.