1
0
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:
Hai Liang Wang 2018-10-18 19:49:22 +08:00
parent 636d3eecd2
commit bd4a956f8e

View File

@ -134,6 +134,16 @@
})
$('#bots').html(tds);
}, function(err){
layer.confirm(err.data||err.error, {
btn: ['关闭'],
icon: 2,
title: '提示'
}, function (popup, layero) {
layer.close(popup)
}, function (popup) {
// 取消方法
});
})
}