chore: fix lint

This commit is contained in:
zhiyuanzmj 2025-05-23 23:21:17 +08:00
parent 77fe056dda
commit 066532d823

View File

@ -39,8 +39,8 @@ export const shouldTransformedToSlots = (tag: string, state?: State) => {
const vueImportMap = state.get('vueImportMap');
for (const name of [FRAGMENT, KEEP_ALIVE]) {
if (vueImportMap[name]) {
if(vueImportMap[name].some((id: t.Identifier) => id.name === tag)){
return false
if (vueImportMap[name].some((id: t.Identifier) => id.name === tag)) {
return false;
}
}
}