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

fix: remove process.env from page.js

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