This commit is contained in:
WispX 2018-10-13 22:47:11 +08:00
parent c226601270
commit 4fc525174f
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class Images extends Base
]
])->each(function ($item) {
$item->username = Users::where('id', $item->user_id)->value('username');
$item->strategy = $this->strategyList[$item->strategy]['name'];
$item->strategyStr = $this->strategyList[$item->strategy]['name'];
return $item;
});
$this->assign([

View File

@ -43,7 +43,7 @@
{foreach $images as $key => $value}
<tr data-id="{$value.id}">
<td>{$value.username}</td>
<td>{$value.strategy}</td>
<td>{$value.strategyStr}</td>
<td>{$value.pathname}</td>
<td class="mdui-text-color-light-blue">{$value.size|format_size}</td>
<td>{$value.mime}</td>