文件上传bug修改。(上传路径去掉“/V2”这个路径参数)
This commit is contained in:
parent
8a3533ce0e
commit
61ed5d1018
@ -242,7 +242,7 @@ layui.define(function(exports) {
|
||||
var self = this;
|
||||
var fileType = opt.type;
|
||||
var customType = opt.customType;
|
||||
var url = 'route/file/uploadfile/v2/';
|
||||
var url = 'route/file/uploadfile/';
|
||||
if (fileType == 'image') {
|
||||
url += '2';
|
||||
} else if (fileType == 'video') {
|
||||
|
Loading…
Reference in New Issue
Block a user