var App = {
openWindow : function(url) {
var date=new Date();
var dateTimes=date.getDate();
window.open(url+"a"+dateTimes)
}
}
页面中使用:
<a href="javascript:App.openWindow(‘@{showNewsDetail(newMsg.id)}‘)" >详情</a>
时间: 2024-10-26 15:15:29