fix: 🐛 sockjs-client 报错 global is not defined 问题修复

Former-commit-id: 04496478a842bcf97c9d540a005e3c6f993bcaf5
This commit is contained in:
郝先瑞
2023-09-11 18:18:36 +08:00
parent 9014c8f709
commit d1bfa599d6
2 changed files with 7 additions and 8 deletions

View File

@@ -12,5 +12,8 @@
<body>
<div id="app" class="app"></div>
<script type="module" src="/src/main.ts"></script>
<script>
global = globalThis;
</script>
</body>
</html>