mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-11 20:02:25 +03:00
fix: allow _hasMetaInfo to be configurable
This commit is contained in:
@@ -14,6 +14,7 @@ export default function createMixin(Vue, options) {
|
||||
return {
|
||||
beforeCreate() {
|
||||
Object.defineProperty(this, '_hasMetaInfo', {
|
||||
configurable: true,
|
||||
get() {
|
||||
// Show deprecation warning once when devtools enabled
|
||||
if (Vue.config.devtools && !this.$root._vueMeta.hasMetaInfoDeprecationWarningShown) {
|
||||
|
||||
Reference in New Issue
Block a user