diff --git a/src/App.vue b/src/App.vue index dd4c6d7..5e93162 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,8 +21,6 @@ export default { } //在页面刷新时将vuex里的信息保存到sessionStorage里 window.addEventListener("beforeunload", () => { - console.log('beforeunload') - const opened = +localStorage.getItem('opened') if (opened) { localStorage.setItem('opened', opened - 1) diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 3ecf153..dc286b5 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -31,7 +31,8 @@
{{ $config.title }}
-编程语言
-{{ $config.title }}
+编程语言
+