test: delete test code
This commit is contained in:
parent
c65d95bbab
commit
749814563d
@ -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()
|
||||
|
@ -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
|
||||
},
|
||||
|
@ -71,8 +71,5 @@ module.exports = {
|
||||
},
|
||||
markdown: {
|
||||
lineNumbers: true
|
||||
},
|
||||
plugins: [
|
||||
require('./plugins/vuepress-plugin-mode/index')
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user