mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-08-14 03:03:20 +08:00
chore: fix lint
This commit is contained in:
@ -39,8 +39,8 @@ export const shouldTransformedToSlots = (tag: string, state?: State) => {
|
|||||||
const vueImportMap = state.get('vueImportMap');
|
const vueImportMap = state.get('vueImportMap');
|
||||||
for (const name of [FRAGMENT, KEEP_ALIVE]) {
|
for (const name of [FRAGMENT, KEEP_ALIVE]) {
|
||||||
if (vueImportMap[name]) {
|
if (vueImportMap[name]) {
|
||||||
if(vueImportMap[name].some((id: t.Identifier) => id.name === tag)){
|
if (vueImportMap[name].some((id: t.Identifier) => id.name === tag)) {
|
||||||
return false
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user