js 数量加减按钮的functionfunction subNum(id) { var num = document.getElementById("num" + id)var getNum = parseInt(num.2023-04-11JavaScript490