添加subStore接口

This commit is contained in:
qaq
2025-08-01 12:57:40 +08:00
parent 4e8e366f75
commit 73c1af715e
7 changed files with 127 additions and 4 deletions
+1 -1
View File
@@ -675,7 +675,7 @@ export default function DashboardPage() {
<div key={tunnel.id} className="border border-gray-200 dark:border-default-100 rounded-lg p-3 lg:p-4 hover:shadow-md transition-shadow">
<div className="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-3 mb-3">
<div>
<h3 className="font-semibold text-foreground">{tunnel.tunnelName}</h3>
<h3 className="font-semibold text-foreground">{tunnel.tunnelName} ID: {tunnel.id}</h3>
<div className="flex flex-wrap items-center gap-2 mt-1">
<span className={`px-2 py-1 rounded-md text-xs font-medium ${tunnel.tunnelFlow === 1 ? 'bg-blue-100 dark:bg-blue-500/20 text-blue-700 dark:text-blue-300' : 'bg-orange-100 dark:bg-orange-500/20 text-orange-700 dark:text-orange-300'}`}>
{tunnel.tunnelFlow === 1 ? '单向计费' : '双向计费'}