列表删除后不自动更新
列表的table那里请使用table的class。如:
[code lang="html"]
<table class="table" layoutH="118">
<thead>
<tr>
<th class="left" style="width: 50px;">ID</th>
<th class="left" style="width: 350px;">图片名称</th>
<th class="left" style="width: 50px;">价格</th>
</tr>
</thead>
<tbody>
<foreach name="img_array" item="item">
<tr rel="{$item.img_id}" target="img_id" class="">
<td class="left" style="width: 50px;"><div>{$item.img_id}</div></td>
<td class="left" style="width: 350px;">{$item.img_title}</td>
<td class="left" style="width: 50px;"><img src="{$item.img_url}" height="150"/></td>
</tr>
</foreach>
</tbody>
</table>
[/code]