Commit 39bc3644 authored by agping's avatar agping

财务日报 图片修改

parent 3ec37000
......@@ -398,7 +398,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
success: function(data) {
if(data.code == 200) {
//渲染已经有的列表
if(!(Array.isArray(data.data))){
if(!(Array.isArray(data.data)) && data.data){
for(i = 0; i < data.data.img_info.length; i++) {
$('#container_body_img_area').append('<div class="result2"><img data-imgid="" src="{1}" alt="" class="diagram-image J_preview" data-bimg="{1}"/> <span class="span-del2"></span></div>'.stringFormatObj({
'1': urlDeal(data.data.img_path+data.data.img_info[i].img_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