Commit ddb7efe1 authored by yatoku's avatar yatoku Committed by 童皓

fix:修复在支付宝小程序中u-upload组件上传文件提示缺少参数的问题。

close #1210
parent 5491842d
......@@ -421,6 +421,9 @@ export default {
name: this.name,
formData: this.formData,
header: this.header,
// #ifdef MP-ALIPAY
fileType:'image',
// #endif
success: res => {
// 判断是否json字符串,将其转为json格式
let data = this.toJson && this.$u.test.jsonString(res.data) ? JSON.parse(res.data) : res.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment