提交 79f6c555 编写于 作者: 雪洛's avatar 雪洛

chore: remove unnecessary property

上级 674bbe97
......@@ -55,9 +55,11 @@ export function uniAppPagesPlugin(): Plugin {
page.path
}", component: ${className}Class, meta: { isQuit: ${isQuit} } as PageMeta, style: ${stringifyPageStyle(
page.style
)}, needLogin: ${
page.needLogin === undefined ? null : page.needLogin
} } as PageRoute`
)}${
page.needLogin === undefined
? ''
: ', needLogin: ' + page.needLogin
} } as PageRoute`
)
})
if (pagesJson.globalStyle) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册