mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-08-07 22:29:44 +08:00
Update SystemQueue.php
This commit is contained in:
parent
266339fade
commit
59abaa1c58
@ -54,9 +54,9 @@ class SystemQueue extends Model
|
|||||||
public function getOuterTimeAttr($value, array $data): string
|
public function getOuterTimeAttr($value, array $data): string
|
||||||
{
|
{
|
||||||
if ($value > 0 && $value > $data['enter_time']) {
|
if ($value > 0 && $value > $data['enter_time']) {
|
||||||
return '<b class="color-blue">' . sprintf("%.4f", $data['outer_time'] - $data['enter_time']) . '</b> 秒';
|
return sprintf(" %.4f 秒", $data['outer_time'] - $data['enter_time']);
|
||||||
} else {
|
} else {
|
||||||
return '<b class="color-desc">-</b>';
|
return ' - ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user