📅  最后修改于: 2022-03-11 15:02:19.851000             🧑  作者: Mango
const selected = document.querySelectorAll('#select-meal-type option:checked');
const values = Array.from(selected).map(el => el.value);