window通信

This commit is contained in:
lf 2024-07-17 09:45:39 +08:00
parent 81baa6f7cf
commit 80fa6676a2
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ const getUrlPathName = () => {
} }
} }
window.parent.addEventListener('message', function (event) { window.addEventListener('message', function (event) {
switch (event.data.data.type) { switch (event.data.data.type) {
case 'login': case 'login':
case 'couponBack': case 'couponBack':