perf: 优化代码
This commit is contained in:
@@ -287,7 +287,7 @@ const Logs = () => {
|
||||
<Show
|
||||
when={allLogs().length > 0}
|
||||
fallback={
|
||||
<div class="flex h-full items-center justify-center rounded-[26px] border border-dashed border-white/10 bg-white/[0.03] px-6 text-slate-500">
|
||||
<div class="flex h-full items-center justify-center rounded-[26px] border border-dashed border-white/10 bg-white/3 px-6 text-slate-500">
|
||||
暂无日志输出
|
||||
</div>
|
||||
}
|
||||
@@ -295,7 +295,7 @@ const Logs = () => {
|
||||
<div class="space-y-1">
|
||||
<For each={allLogs()}>
|
||||
{(log) => (
|
||||
<div class="rounded-lg px-3 py-2 transition hover:bg-white/[0.04]">
|
||||
<div class="rounded-lg px-3 py-2 transition hover:bg-white/4">
|
||||
{/* 头部 */}
|
||||
<div class="flex items-center justify-between text-[11px] text-slate-400">
|
||||
<div class="flex items-center gap-2">
|
||||
|
||||
Reference in New Issue
Block a user