Pre Merge pull request !456 from 写代码的猫叔/N/A

pull/456/MERGE
写代码的猫叔 2023-11-23 08:33:51 +00:00 committed by Gitee
commit 7d8762ade0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,7 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang'], function ($, undefine
area: area, area: area,
content: url, content: url,
zIndex: Layer.zIndex, zIndex: Layer.zIndex,
successCallback:null,
success: function (layero, index) { success: function (layero, index) {
var that = this; var that = this;
//存储callback事件 //存储callback事件
@ -180,6 +181,7 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang'], function ($, undefine
// observer.disconnect(); // observer.disconnect();
} }
} }
that.successCallback && that.successCallback(index)
} catch (e) { } catch (e) {
} }