标签: javascript
var d=ed; d.setMinutes(d.getMinutes() + 30);
ed有我的约会对象,但这给了我一个像
ed
Object doesn't support this property or method
wat可能是问题???
答案 0 :(得分:0)
试试这个:
var d = new Date(ed); d.setMinutes(d.getMinutes() + 30);