This commit is contained in:
phof 2019-01-30 12:34:33 +01:00 committed by Clark Du
parent a614fd3f81
commit b2abb499f8

View File

@ -94,7 +94,7 @@ export default {
}<% if (router.linkPrefetchedClass) { %>, }<% if (router.linkPrefetchedClass) { %>,
addPrefetchedClass() { addPrefetchedClass() {
if (this.prefetchedClass !== 'false') { if (this.prefetchedClass !== 'false') {
this.$el.className += (this.$el.className + ' ' + this.prefetchedClass).trim() this.$el.className = (this.$el.className + ' ' + this.prefetchedClass).trim()
} }
}<% } %> }<% } %>
} }