提交 db1522a0 编写于 作者: fxy060608's avatar fxy060608

fix(app-plus-nvue): merge_style

上级 b8e2c3ce
......@@ -37,7 +37,7 @@ function getAppStyleCode(stringifyRequest) {
} catch (e) {}
styles.forEach((style, index) => {
code = code +
`Vue.prototype.__merge_style(require(${genStyleRequest(style,index,stringifyRequest)}).default,Vue.prototype.__$appStyle__)\n`
`Vue.prototype.__merge_style && Vue.prototype.__merge_style(require(${genStyleRequest(style,index,stringifyRequest)}).default,Vue.prototype.__$appStyle__)\n`
})
return code
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册