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

fix: app-v3 pages.json 缺少 globalStyle 节点无法启动的问题

上级 2cf84bcb
...@@ -63,7 +63,7 @@ export function navigateTo ({ ...@@ -63,7 +63,7 @@ export function navigateTo ({
const urls = url.split('?') const urls = url.split('?')
const path = urls[0] const path = urls[0]
const routeStyles = __uniRoutes.find(route => route.path === path).window const routeStyles = __uniRoutes.find(route => route.path === path).window
const globalStyle = __uniConfig.window const globalStyle = __uniConfig.window || {}
if (!animationType) { if (!animationType) {
animationType = routeStyles.animationType || globalStyle.animationType || ANI_SHOW animationType = routeStyles.animationType || globalStyle.animationType || ANI_SHOW
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册