mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 06:40:27 +08:00
实现发送消息到媒介
This commit is contained in:
@@ -181,6 +181,11 @@ window.teaweb = {
|
||||
var hash = window.location.hash;
|
||||
return hash != null && hash.startsWith("#popup");
|
||||
},
|
||||
closePopup: function () {
|
||||
if (this.isPopup()) {
|
||||
window.parent.Swal.close();
|
||||
}
|
||||
},
|
||||
Swal: function () {
|
||||
return this.isPopup() ? window.parent.Swal : window.Swal;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user