报错信息
message:pages/index/index.js: Code protect is not available
in pages/index/index.js
require is not being used properly in 'MemberExpression'
在页面js中使用如下
async onLoad(options) {
let {map} = await require.async('../../utilsPack/page-index.js');
testIndex = map;
testIndex.xxx.bind(this);
}