js將數(shù)組對象提取出固定id并組成新的數(shù)組
list.map(x => x.imgUrl)
<div className={`${styles.selectCard} ${styles.pointer}`}></div>
<div className={`${styles.qrCode} ${show ??''?: styles.hidden}`} ></div>
js將數(shù)組對象提取出固定id并組成新的數(shù)組
list.map(x => x.imgUrl)
<div className={`${styles.selectCard} ${styles.pointer}`}></div>
<div className={`${styles.qrCode} ${show ??''?: styles.hidden}`} ></div>