mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-22 19:30:33 +03:00
refactor: small improvements (mainly tests)
This commit is contained in:
committed by
Alexander Lichter
parent
5ad671169b
commit
f490a48b99
Vendored
+10
-2
@@ -11,16 +11,24 @@ export default {
|
||||
components: {
|
||||
HelloWorld
|
||||
},
|
||||
props: {
|
||||
changed: {
|
||||
type: Function
|
||||
}
|
||||
},
|
||||
metaInfo() {
|
||||
return {
|
||||
changed: this.changed
|
||||
changed: this._changed
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
childVisible: false,
|
||||
changed: () => {}
|
||||
_changed: () => {}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this._changed = this.changed.bind(this)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user