Przeglądaj źródła

【测试postmessa通信end】

master
GL 4 lat temu
rodzic
commit
adaa8375ad
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      src/views/login/index.vue

+ 2
- 1
src/views/login/index.vue Wyświetl plik

@@ -73,10 +73,11 @@ export default {
},
},
mounted() {

window.addEventListener(
"message",
event => {
if (event.origin === "https://bh5test.malls.iformall.com/") {
if ( typeof(event.data)=='string') {
let tempAppid = event.data;
this.appId = tempAppid
}else{


Ładowanie…
Anuluj
Zapisz