Update upload.js

This commit is contained in:
邹景立 2021-04-08 14:16:30 +08:00
parent e0a02c367a
commit 1f497b713f

View File

@ -29,7 +29,7 @@ define(['md5'], function (SparkMD5, allowMime) {
if (parseInt(ret.code) === 404) {
file.xurl = ret.data.url;
option.uploader.config.url = ret.data.server;
option.uploader.config.data.key = ret.data.xkey;
option.uploader.config.data.xkey = ret.data.xkey;
option.uploader.config.data.safe = ret.data.safe;
option.uploader.config.data.uptype = ret.data.uptype;
if (ret.data.uptype === 'qiniu') {