mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
Closed #104 pop up error message
This commit is contained in:
parent
636d3eecd2
commit
bd4a956f8e
@ -134,6 +134,16 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
$('#bots').html(tds);
|
$('#bots').html(tds);
|
||||||
|
}, function(err){
|
||||||
|
layer.confirm(err.data||err.error, {
|
||||||
|
btn: ['关闭'],
|
||||||
|
icon: 2,
|
||||||
|
title: '提示'
|
||||||
|
}, function (popup, layero) {
|
||||||
|
layer.close(popup)
|
||||||
|
}, function (popup) {
|
||||||
|
// 取消方法
|
||||||
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user