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

chore(plugin): apply support regexp

上级 92217eed
......@@ -103,7 +103,7 @@ function resolvePlugins(cliRoot: string, platform: UniApp.PLATFORM) {
return
}
} else if (isString(apply)) {
if (apply !== platform) {
if (!new RegExp(apply).test(platform)) {
return
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册