bump: 3.7.3
This commit is contained in:
parent
eca3368152
commit
6d244139dd
5 changed files with 9 additions and 6 deletions
|
|
@ -3229,7 +3229,7 @@ function renderNameLink (vm) {
|
|||
if (isPrimitive(vm.config.nameLink)) {
|
||||
el.setAttribute('href', nameLink);
|
||||
} else if (typeof nameLink === 'object') {
|
||||
var match = Object.keys(nameLink).find(function (key) { return path.indexOf(key) > -1; });
|
||||
var match = Object.keys(nameLink).filter(function (key) { return path.indexOf(key) > -1; })[0];
|
||||
|
||||
el.setAttribute('href', nameLink[match]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue