hotfix: 修复模板字符串转义错误导致的编译失败

This commit is contained in:
2026-08-12 14:54:06 +08:00
parent e0a5a572cc
commit fd289db0fc

View File

@ -71,7 +71,7 @@ export default function ScanPage() {
<div className="mt-3 px-4">
<div className="flex items-center gap-2 rounded-lg bg-white px-4 py-2.5 shadow-sm">
<span className="text-xs text-gray-400"></span>
<span className={\`flex-1 text-sm font-bold \${product.overall_status ? "text-blue-600" : "text-red-500"}\`}>
<span className={`flex-1 text-sm font-bold ${product.overall_status ? "text-blue-600" : "text-red-500"}`}>
{product.overall_status || "未设定"}
</span>
</div>