hotfix: 修复模板字符串转义错误导致的编译失败
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user