提交 7f649fbb 编写于 作者: Q qiang

fix: remove process.env from page.js

上级 0486c4b8
...@@ -2432,10 +2432,7 @@ var serviceContext = (function (vue) { ...@@ -2432,10 +2432,7 @@ var serviceContext = (function (vue) {
animationType: 'pop-in', animationType: 'pop-in',
animationDuration: 200, animationDuration: 200,
uniNView: { uniNView: {
path: `${(typeof process === 'object' && path: `/${url}.js`,
process.env &&
process.env.VUE_APP_TEMPLATE_PATH) ||
''}/${url}.js`,
defaultFontSize: 16, defaultFontSize: 16,
viewport: plus_.screen.resolutionWidth, viewport: plus_.screen.resolutionWidth,
}, },
......
...@@ -141,12 +141,7 @@ export function showPage({ ...@@ -141,12 +141,7 @@ export function showPage({
animationType: 'pop-in', animationType: 'pop-in',
animationDuration: 200, animationDuration: 200,
uniNView: { uniNView: {
path: `${ path: `/${url}.js`,
(typeof process === 'object' &&
process.env &&
process.env.VUE_APP_TEMPLATE_PATH) ||
''
}/${url}.js`,
defaultFontSize: 16, defaultFontSize: 16,
viewport: plus_.screen.resolutionWidth, viewport: plus_.screen.resolutionWidth,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册