mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update upload.js
This commit is contained in:
parent
e0a02c367a
commit
1f497b713f
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user