2020
10-10
10-10
VUE UPLOAD 通过ACTION返回上传结果操作
通过Upload的action方法返回不了结果,可以通过on-success方法中获取返回结果<Uploadaccept=".xls,.xlsx":action="uploadUrl":on-success="onSuccess":on-error="handleError":before-upload="beforeUpload"style="float:right"><Buttontype="primary"icon="ios-cloud-upload-outline">导入</Button></Upload>-----------------------------------------computed:{uploadUrl(){returnbaseUrl+"/I...
继续阅读 >