Commit ee0235af by 杨昕

sdf

parent 4f7dfe40
Pipeline #14116 passed with stages
in 3 minutes 3 seconds
...@@ -285,6 +285,7 @@ class MediaController extends Controller ...@@ -285,6 +285,7 @@ class MediaController extends Controller
#将文件内容转化为数组 #将文件内容转化为数组
$sheet = (new MediasImport())->toArray($file); $sheet = (new MediasImport())->toArray($file);
$temp = []; $temp = [];
foreach ($sheet[0] as $key => $item){ foreach ($sheet[0] as $key => $item){
......
...@@ -132,24 +132,17 @@ ...@@ -132,24 +132,17 @@
duration: 3000, duration: 3000,
top: '50%' top: '50%'
}); });
$("#batch-media").attr("disabled",true);
$("#uploadFile").val("")
window.location.href = "/web/media_manager/download/"+res.data window.location.href = "/web/media_manager/download/"+res.data
}else { }else {
$('body').toast({ $('body').toast({
position: 'fixed', position: 'fixed',
content: res.msg, content: res.msg,
duration: 3000, duration: 3000,
top: '50%' top: '50%'
}); });
} }
$("#batch-media").attr("disabled",true);
$("#uploadFile").val("")
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment