📜  vuejs 中的多个三元 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:14.397000             🧑  作者: Mango

代码示例1
You can paste it in "" or {{}} (in html or as text/html)

(test1 == 1) ? then1 : (test2 == 2) ? then2 : thenglobal

Test 1 will be cheked and then1 executed if true and same for test 2, it will
repeat until it reaches the end.

You can repeat this ∞