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

wip(uvue): 修复 ext-api

上级 ff87e1ef
......@@ -48,7 +48,7 @@ export function injectsToAutoImports(
const autoImports: Record<string, [string, string][]> = {}
Object.keys(injects).forEach((api) => {
const options = injects[api]
if (isArray(options) && options.length === 2) {
if (isArray(options) && options.length >= 2) {
const source = options[0]
const name = options[1]
if (!autoImports[source]) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册