From a7a04ff314e99c1bb5358e91f8b61de8fdb4ae8a Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 19 Jul 2024 18:25:17 +0800 Subject: [PATCH] fix --- src/App.vue | 2 - src/components/TestPanel.vue | 15 ++++++-- src/views/Home.vue | 75 ++++++++++++++++++------------------ 3 files changed, 50 insertions(+), 42 deletions(-) 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 @@
- 填写实验报告 + 填写实验报告 查看实验报告 重新开始 -
+
- +
+ +
账号:{{ account }};密码:112233aa

退出实验
- -