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:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user