根据当前时间显示下拉列表的年月,需要显示之前六个月,用JS怎么来弄?html代码:<select id="dateSelect"><select>js代码:<script type="textjavascript&2023-02-21JavaScript140