提交 132ce9b6 编写于 作者: D DCloud_LXH

fix(app): darkmode

上级 8fb8d9a0
...@@ -178,7 +178,9 @@ module.exports = function (content, map) { ...@@ -178,7 +178,9 @@ module.exports = function (content, map) {
} }
const jsonFiles = require('./platforms/' + process.env.UNI_PLATFORM)( const jsonFiles = require('./platforms/' + process.env.UNI_PLATFORM)(
process.env.UNI_PLATFORM === 'app-plus' ? originalPagesJson : pagesJson, process.env.UNI_PLATFORM === 'app-plus' && process.env.VUE_APP_DARK_MODE === 'true'
? originalPagesJson
: pagesJson,
manifestJson, manifestJson,
isAppView isAppView
) )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册