feat: 缓存数据
This commit is contained in:
@@ -153,7 +153,7 @@ export default function Scenarios() {
|
||||
<div
|
||||
key={scenario.id}
|
||||
className="bg-white rounded-lg shadow overflow-hidden hover:shadow-md transition-shadow cursor-pointer"
|
||||
onClick={() => navigate(`/scenarios/${scenario.id}`)}
|
||||
onClick={() => navigate(`/scenarios/${scenario.id}/detail`)}
|
||||
>
|
||||
<div className="p-4 flex flex-col items-center">
|
||||
<img src={scenario.image} alt={scenario.name} className="w-12 h-12 mb-2 rounded" />
|
||||
|
||||
Reference in New Issue
Block a user