Skip to content

Commit 43d5e29

Browse files
authored
Merge pull request #7 from mpvue/feature/ttaplipay
fix issue#1397
2 parents 3a2bbab + ed911cb commit 43d5e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Component变量只有在项目中通过json配置声明组件后,打包的时候才会声明赋值,否则访问不到
1212
const banner = `
1313
if (!global) {
14-
var globalModule = require('global');
14+
var globalModule = require('core-js').global;
1515
var Component = Component ? Component : globalModule.AFAppX.WorkerComponent;
1616
var global = globalModule.AFAppX.$global || {};
1717
}

0 commit comments

Comments
 (0)