diff --git a/components/Common.vue b/components/Common.vue index 88be256..a77afc6 100644 --- a/components/Common.vue +++ b/components/Common.vue @@ -170,7 +170,6 @@ export default { }, created () { - console.log(this.$mode) this._getPostData() }, @@ -238,9 +237,6 @@ export default { }, watch: { - $mode (newVal) { - console.log(111, newVal) - }, $frontmatter (newVal, oldVal) { this.hasKey() this.hasPageKey() diff --git a/components/Mode/ModeOptions.vue b/components/Mode/ModeOptions.vue index fc8d46d..2c7dcc9 100755 --- a/components/Mode/ModeOptions.vue +++ b/components/Mode/ModeOptions.vue @@ -50,8 +50,6 @@ export default { } else if (mode.mode === 'auto') { setMode() } - this.$mode = 'de' - console.log(this.$mode) localStorage.setItem('mode', mode.mode) this.currentMode = mode.mode }, diff --git a/example/docs/.vuepress/config.js b/example/docs/.vuepress/config.js index 3920de6..27cf4d0 100644 --- a/example/docs/.vuepress/config.js +++ b/example/docs/.vuepress/config.js @@ -71,8 +71,5 @@ module.exports = { }, markdown: { lineNumbers: true - }, - plugins: [ - require('./plugins/vuepress-plugin-mode/index') - ] + } }