Styling output in ternary operator

前端 未结 0 1575
清酒与你
清酒与你 2021-01-28 10:50

how to put color the in output of ternary operator.

I would like to do if false it should be black if true it should be red

this is my code:

\'

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题