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