This commit is contained in:
phof 2019-01-30 12:34:33 +01:00 committed by Xin Du (Clark)
parent 9788467736
commit 0088b333f8

View File

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