just make an index property. use let i = index to set the index using (click) event. Then check if selectedIndex === i if yes the set class ...
確定! 回上一頁