前言
在使用低版本火狐浏览器出现报错globalThis is not defined
解决办法:
在vue的index.html 中添加 this.globalThis || (this.globalThis = this)
<head>
<script>
this.globalThis || (this.globalThis = this)
</script>
...
</head>
在使用低版本火狐浏览器出现报错globalThis is not defined
在vue的index.html 中添加 this.globalThis || (this.globalThis = this)
<head>
<script>
this.globalThis || (this.globalThis = this)
</script>
...
</head>