Update traffic-light.html

This commit is contained in:
Jeffrey Chen
2024-05-17 17:48:05 +08:00
committed by GitHub
parent f649b2419d
commit 9be5afde29

View File

@@ -2,7 +2,7 @@
<p>现在亮着的是: ${light}</p>
<p switch.bind="light">
你应该
<span case="red">停下</span>
<span case="orange">慢行</span>
<span case="green">赶紧走</span>
<span case="红灯">停下</span>
<span case="黄灯">慢行</span>
<span case="绿灯">赶紧走</span>
</p>