实现发送消息到媒介

This commit is contained in:
刘祥超
2021-04-12 19:19:59 +08:00
parent 7ffff890a8
commit a637783249
18 changed files with 425 additions and 24 deletions

View File

@@ -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;
},