const y = new Date().getFullYear() const m = new Date().getMonth+1 if(m<=1){ y = y-1 m = 12 } 如上代码,为什么会报错呢 说是y只读