Renxy 1 سال پیش
والد
کامیت
54a2c4e87f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/utils/utils.js

+ 1 - 1
src/utils/utils.js

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