diff --git a/src/render.ts b/src/render.ts index a132253..aaec92b 100644 --- a/src/render.ts +++ b/src/render.ts @@ -174,8 +174,9 @@ export function renderTag ( if (!valueAttribute) { content = getSlotContent(context, slotName, content, data) } else { - const { nameless, keyAttribute } = config + const { nameless } = config if (!nameless) { + const keyAttribute = getTagConfig('keyAttribute') if (keyAttribute) { attributes[keyAttribute] = fullName }