2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-05-17 04:29:37 +03:00

fix: get keyAttribute _either_ from section or tag config

This commit is contained in:
pimlie
2021-05-23 17:33:34 +02:00
parent 3b3d3f4397
commit e551fe46fe
+1 -1
View File
@@ -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
}