diff --git a/src/render.ts b/src/render.ts index aaec92b..3eb2ff5 100644 --- a/src/render.ts +++ b/src/render.ts @@ -176,7 +176,7 @@ export function renderTag ( } else { const { nameless } = config if (!nameless) { - const keyAttribute = getTagConfig('keyAttribute') + const keyAttribute = config.keyAttribute || getTagConfig('keyAttribute') if (keyAttribute) { attributes[keyAttribute] = fullName }