bugfix: 管理后台获取标签列表时,template的range动作使得dot的值变为了element,.Lang访问不到问题修复。

pull/794/head
Go-Go-Farther 2022-05-29 16:13:37 +08:00
parent 8d92550458
commit db5e853c28
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@
<td>{{$item.LabelName}}</td> <td>{{$item.LabelName}}</td>
<td>{{$item.BookNumber}}</td> <td>{{$item.BookNumber}}</td>
<td> <td>
<button type="button" data-method="delete" class="btn btn-danger btn-sm" data-id="{{$item.LabelId}}" data-loading-text="{{i18n .Lang "message.processing"}}">{{i18n .Lang "common.delete"}}</button> <button type="button" data-method="delete" class="btn btn-danger btn-sm" data-id="{{$item.LabelId}}" data-loading-text="{{i18n $.Lang "message.processing"}}">{{i18n $.Lang "common.delete"}}</button>
<a href="{{urlfor "LabelController.Index" ":key" $item.LabelName}}" class="btn btn-success btn-sm" target="_blank">{{i18n .Lang "common.detail"}}</a> <a href="{{urlfor "LabelController.Index" ":key" $item.LabelName}}" class="btn btn-success btn-sm" target="_blank">{{i18n $.Lang "common.detail"}}</a>
</td> </td>
</tr> </tr>