...
|
...
|
@@ -588,13 +588,15 @@ layui.define(['xmSelect', 'md5'], function (exports) { |
|
|
id: id,
|
|
|
content: laytpl(res.body).render(JSON.stringify(params)),
|
|
|
success: function (layero, index) {
|
|
|
if (typeof done==="function") {
|
|
|
if(done) {
|
|
|
if (typeof done === "function") {
|
|
|
done(layero, index);
|
|
|
}else if(done.success){
|
|
|
} else if (done.success) {
|
|
|
done.success()
|
|
|
}else {
|
|
|
} else {
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
yes: function (index, layero) {
|
|
|
if (fn && fn(index)) {
|
...
|
...
|
|