|
@@ -2852,14 +2852,8 @@ $("textarea").on("postpaste", function()
|
|
|
function showYes(msg)
|
|
|
{
|
|
|
if (msg.status == 2) {
|
|
|
- showAlert(msg.msg, function() {
|
|
|
- if (select_api_open) {
|
|
|
- $('.layui-layer-content').css('overflow-x', 'auto');
|
|
|
- $('#update_button').show();
|
|
|
- //layer.closeAll();
|
|
|
- } else {
|
|
|
- //location.reload()
|
|
|
- }
|
|
|
+ showAlert(msg.msg, function(index) {
|
|
|
+ layer.close(index);
|
|
|
});
|
|
|
} else {
|
|
|
showAlert('保存成功', function() {
|