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

fix(h5): wxs

上级 a857e5f8
...@@ -117,8 +117,8 @@ function initManifestFeature({ manifestJson, command, platform, }) { ...@@ -117,8 +117,8 @@ function initManifestFeature({ manifestJson, command, platform, }) {
}; };
if (command === 'build') { if (command === 'build') {
// TODO 需要预编译一遍? // TODO 需要预编译一遍?
features.wxs = false; features.wxs = true;
features.longpress = false; features.longpress = true;
} }
if (manifestJson.h5 && if (manifestJson.h5 &&
manifestJson.h5.router && manifestJson.h5.router &&
......
...@@ -171,8 +171,8 @@ function initManifestFeature({ ...@@ -171,8 +171,8 @@ function initManifestFeature({
if (command === 'build') { if (command === 'build') {
// TODO 需要预编译一遍? // TODO 需要预编译一遍?
features.wxs = false features.wxs = true
features.longpress = false features.longpress = true
} }
if ( if (
manifestJson.h5 && manifestJson.h5 &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册