Closed madwolfcrazy closed 8 years ago
上传中文文件名的文件时候会有问题,PHP的$_FILES数组为空 用 fileFieldName 这个属性去处理一下就好了,但不知道这应该是哪部分的锅
@madwolfcrazy 不知道是不是因为需要进行encodeURIComponent? 因为我没在PHP环境进行过测试,试试看:
fileFieldName(file) { return encodeURIComponent(file.name) },
上传中文文件名的文件时候会有问题,PHP的$_FILES数组为空 用 fileFieldName 这个属性去处理一下就好了,但不知道这应该是哪部分的锅