|
@@ -7,6 +7,7 @@ import _ from 'lodash'
|
|
|
* @param sender 发送者按钮(可以为空)
|
|
|
*/
|
|
|
export function showErrorDialog(msg, sender?) {
|
|
|
+ console.error(msg)
|
|
|
Ext.MessageBox.show({
|
|
|
title: '错误',
|
|
|
msg: msg,
|
|
@@ -25,6 +26,8 @@ export function msgError(msg, sender?) {
|
|
|
* 中间灰底白字提示
|
|
|
*/
|
|
|
export function msg(message: string): void {
|
|
|
+ console.log(message)
|
|
|
+
|
|
|
const $body = $('body')
|
|
|
|
|
|
$body.find('[xtype=tooltip]').remove()
|