Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
this.selectedIndex是0第一个选项。 0是假的,所以你if永远不会开火。
this.selectedIndex
0
if
if彻底摆脱;没有理由这样做。