【发布时间】:2014-11-01 03:51:45
【问题描述】:
我正在尝试在生成 pdf 报告时为 extjs4 Iframe 设置加载掩码
var WinReporte=Ext.create('Ext.Window', {
title: 'Reporte de Clientes',
width: 750,
height: 400,
layout: 'fit',
xtype: 'panel',
modal:true,
html:'<iframe src="pdf.php" onLoad="javascript:window.parent.WinReporte.body.unmask();" style="height:100%;width:100%"></iframe>',
listeners: {
show: function(){
WinReporte.body.mask('Creating report...please wait!')
},
}
});
我在控制台中遇到拼写错误: 未捕获的类型错误:无法读取未定义的属性“正文” 所以负载掩码永远不会隐藏
这里有什么明显的错误吗? 谢谢
【问题讨论】: