提交 39ad8068 编写于 作者: Q qiang

fix(h5): espace pages path

上级 feb406a7
...@@ -177,7 +177,7 @@ const genRegisterPageVueComponentsCode = function (pageComponents) { ...@@ -177,7 +177,7 @@ const genRegisterPageVueComponentsCode = function (pageComponents) {
return `Vue.component('${name}', resolve=>{ return `Vue.component('${name}', resolve=>{
const component = { const component = {
component:require.ensure([], () => resolve(require('${path}${ext}')), '${name}'), component:require.ensure([], () => resolve(require(${JSON.stringify(path)}+'${ext}')), '${name}'),
delay:__uniConfig['async'].delay, delay:__uniConfig['async'].delay,
timeout: __uniConfig['async'].timeout timeout: __uniConfig['async'].timeout
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册