三元表达式

 const notLicenseNo = param.notLicenseNo == true ? 1 : 0
posted @ 2018-07-13 11:33  李美玲  阅读(129)  评论(0)    收藏  举报