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(
       '============================getMessageForUnity============================',
     );
-    alert(data.message);
     const data = JSON.parse(e.data);
+    alert(data.message);
     console.log(data);
     UnityAction.emit(data.type, data.message);
   });