window通信
This commit is contained in:
parent
81baa6f7cf
commit
80fa6676a2
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue