|
|
@@ -48,8 +48,14 @@ Ext.define('saas.view.core.query.QueryGridPanel', {
|
|
|
},
|
|
|
listeners: {
|
|
|
exception: function(proxy, response, operation, eOpts) {
|
|
|
- console.error('exception: ', response.responseJson.message);
|
|
|
- showToast('exception:' + response.responseJson.message);
|
|
|
+ if(operation.success) {
|
|
|
+ if(response.timedout) {
|
|
|
+ showToast('请求超时');
|
|
|
+ }
|
|
|
+ }else {
|
|
|
+ console.error('exception: ', response.responseJson);
|
|
|
+ showToast('exception:' + response.responseJson);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|