diff --git a/docs/upload/examples/drag.md b/docs/upload/examples/drag.md index 58968321..9fb2754e 100644 --- a/docs/upload/examples/drag.md +++ b/docs/upload/examples/drag.md @@ -15,7 +15,7 @@ layui.use(function(){ // 渲染 upload.render({ elem: '#ID-upload-demo-drag', - url: 'https://httpbin.org/post', // 此处用的是第三方的 http 请求演示,实际使用时改成您自己的上传接口即可。 + url: '', // 实际使用时改成您自己的上传接口即可。 done: function(res){ layer.msg('上传成功'); $('#ID-upload-demo-preview').removeClass('layui-hide') @@ -24,4 +24,4 @@ layui.use(function(){ } }); }); - \ No newline at end of file + diff --git a/docs/upload/examples/files.table.md b/docs/upload/examples/files.table.md index 6af317ae..abe36e9b 100644 --- a/docs/upload/examples/files.table.md +++ b/docs/upload/examples/files.table.md @@ -31,7 +31,7 @@ layui.use(function(){ var uploadListIns = upload.render({ elem: '#ID-upload-demo-files', elemList: $('#ID-upload-demo-files-list'), // 列表元素对象 - url: 'https://httpbin.org/post', // 此处用的是第三方的 http 请求演示,实际使用时改成您自己的上传接口即可。 + url: '', // 实际使用时改成您自己的上传接口即可。 accept: 'file', multiple: true, number: 3, @@ -96,4 +96,4 @@ layui.use(function(){ } }); }); - \ No newline at end of file + diff --git a/docs/upload/examples/image.md b/docs/upload/examples/image.md index f0ceea69..a9df09f6 100644 --- a/docs/upload/examples/image.md +++ b/docs/upload/examples/image.md @@ -32,7 +32,7 @@ layui.use(function(){ // 单图片上传 var uploadInst = upload.render({ elem: '#ID-upload-demo-btn', - url: 'https://httpbin.org/post', // 此处用的是第三方的 http 请求演示,实际使用时改成您自己的上传接口即可。 + url: '', // 实际使用时改成您自己的上传接口即可。 before: function(obj){ // 预读本地文件示例,不支持ie8 obj.preview(function(index, file, result){ @@ -71,7 +71,7 @@ layui.use(function(){ // 多图片上传 upload.render({ elem: '#ID-upload-demo-btn-2', - url: 'https://httpbin.org/post', // 此处用的是第三方的 http 请求演示,实际使用时改成您自己的上传接口即可。 + url: '', // 实际使用时改成您自己的上传接口即可。 multiple: true, before: function(obj){ // 预读本地文件示例,不支持ie8 @@ -84,4 +84,4 @@ layui.use(function(){ // … } }); -}); \ No newline at end of file +});