front01专题

FRONT01_三元表达式+refs调用子组件时的undefined

①. vue 三元表达式及类似用法 <div id="app"><span :style="{'color':status === true ? '#FF5757':'#757575'}">测试</span><div>===========</div><div>{{age==24?'tangzhi':age==23?'yangxing':'yangyang'}}</div><div>==