2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-21 11:30:33 +03:00

add change event

This commit is contained in:
Declan de Wet
2016-11-03 18:48:01 +02:00
parent c670b25add
commit 7fe58438d8
4 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export default function getMetaInfo (component) {
for (let key in info) {
if (info.hasOwnProperty(key)) {
const value = info[key]
if (typeof value === 'function') {
if (typeof value === 'function' && key !== 'changed') {
info[key] = value()
}
}