我正在检查数组中是否存在一个数字(在使用.indexOf()之前,我已经做了上千次了),但是我现在似乎遗漏了一些东西。showSeat(seat) { this.selectedSeats.push(seat) let index = this.selectedSeats.indexOf,当我试图增加另一个席位时,我得到了[Vue warn]: Error in event handler for "
我想在Javascript / jQuery中创建一个带有英语或德语选项的下拉菜单,检查:if german is selected on dropdown happy.de/pizzaif happy.com/pizza got to happy.de/pizza happy.com/juice got to happy.de/juice我已经写好了代码,但