Renxy 1 vuosi sitten
vanhempi
commit
54a2c4e87f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/utils/utils.js

+ 1 - 1
src/utils/utils.js

@@ -152,8 +152,8 @@ if (window.vuplex) {
     console.log(
       '============================getMessageForUnity============================',
     );
-    alert(data.message);
     const data = JSON.parse(e.data);
+    alert(data.message);
     console.log(data);
     UnityAction.emit(data.type, data.message);
   });