2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-13 02:02:24 +03:00

fixed issue #52

This commit is contained in:
issaTan
2018-09-29 18:49:02 +08:00
parent 0ac5d5b051
commit dc877f04a6
+1 -1
View File
@@ -100,7 +100,7 @@ export default function _getMetaInfo (options = {}) {
// replace title with populated template
if (info.titleTemplate) {
info.title = applyTemplate(component)(info.titleTemplate)(info.titleChunk)
info.title = applyTemplate(component)(info.titleTemplate)(info.titleChunk || '')
}
// convert base tag to an array so it can be handled the same way