fix:默认的项目空间不能删除

This commit is contained in:
lifei6671 2018-11-21 11:35:21 +08:00
parent 37fe31797d
commit 34c383ea14

View File

@ -49,7 +49,9 @@
<td>{{$item.BookNumber}}</td>
<td>
<button type="button" class="btn btn-sm btn-default" data-id="{{$item.ItemId}}" data-method="edit" data-name="{{$item.ItemName}}" data-key="{{$item.ItemKey}}">编辑</button>
{{if ne $item.ItemId 1}}
<button type="button" data-method="delete" class="btn btn-danger btn-sm" data-id="{{$item.ItemId}}" data-loading-text="删除中...">删除</button>
{{end}}
<a href="{{urlfor "ItemsetsController.Index" ":key" $item.ItemKey}}" class="btn btn-success btn-sm" target="_blank">详情</a>
</td>
</tr>