【发布时间】:2014-01-07 05:04:15
【问题描述】:
使用以下函数:
function showError(ptitle,perror){
Ext.Msg.show({
title: ptitle,
icon: Ext.MessageBox.ERROR,
msg: perror,
buttons: Ext.MessageBox.OK
});
}
我收到以下错误:
Uncaught TypeError: Cannot read property 'ERROR' of undefined
我看不出这个代码有问题。任何帮助,将不胜感激。
【问题讨论】:
标签: extjs4 runtime-error