我正在尝试打印计划日历,但是间隔时间在CSS中有问题。
onPrint:function(){
var $domTarget = this.byId("PC1").$()[0],
sTargetContent = $domTarget.innerHTML,
sOriginalContent = document.body.innerHTML;
document.body.innerHTML = sTargetContent;
window.print();
document.body.innerHTML = sOriginalContent;
}