JSX中使用到JS的变量 语法: {JS 表达式} ⚠️注意:要区分Vue中html中的双花括号的差值表达式 const name='Jack' const title=(<h1>{name}</h1>)