test: delete test code

This commit is contained in:
reco_luan 2019-11-28 22:47:52 +08:00
parent c65d95bbab
commit 749814563d
3 changed files with 1 additions and 10 deletions

View File

@ -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()

View File

@ -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
},

View File

@ -71,8 +71,5 @@ module.exports = {
},
markdown: {
lineNumbers: true
},
plugins: [
require('./plugins/vuepress-plugin-mode/index')
]
}
}