Commit 968408c6 by 周业恒

media_list

parent 4a52edf9
Pipeline #20526 passed with stages
in 1 minute 8 seconds
......@@ -168,7 +168,7 @@
<script type="text/javascript">
var media_export_name="<?php $export_values='id,名称\n'; foreach ($medias as $key => $media) { $export_values=$export_values.'${'.$media['_id'].`'\t'},'`.'${'.$media['media_name'].`'\t'}'`.'\n'; } echo $export_values; ?>"
var media_export_name="<?php $export_values='id,名称\n'; foreach ($medias as $key => $media) { $export_values=$export_values.'${'.$media['_id'].`'\t'},`.'${'.$media['media_name'].`'\t'}`.'\n'; } echo $export_values; ?>"
function export_media_id(){
//alert(media_export_name)
const uri = 'data:text/csv;charset=utf-8,\ufeff' + encodeURIComponent(media_export_name);
......
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