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

fix(h5): getH5Options

上级 c5f4ab05
...@@ -44,7 +44,7 @@ function getH5Options (manifestJson) { ...@@ -44,7 +44,7 @@ function getH5Options (manifestJson) {
manifestJson = getManifestJson() manifestJson = getManifestJson()
} }
const h5 = manifestJson.h5 || {} const h5 = manifestJson[process.env.UNI_SUB_PLATFORM || process.env.UNI_PLATFORM] || {}
h5.appid = (manifestJson.appid || '').replace('__UNI__', '') h5.appid = (manifestJson.appid || '').replace('__UNI__', '')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册