Explorar el Código

【测试postmessa通信end】

master
GL hace 4 años
padre
commit
adaa8375ad
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/views/login/index.vue

+ 2
- 1
src/views/login/index.vue Ver fichero

@@ -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{


Cargando…
Cancelar
Guardar