From 5b1b94a4d60829ebf6de8cccec1ede1e70cf33f5 Mon Sep 17 00:00:00 2001 From: qiangyanwen <508737091@qq.com> Date: Sun, 14 Aug 2022 17:44:09 +0800 Subject: [PATCH] testcase --- src/components/Layout.vue | 87 +++++++++++++++++++++------------------ src/store/index.js | 2 +- src/view/Login.vue | 7 ++-- src/view/Monit.vue | 26 ++++++------ 4 files changed, 66 insertions(+), 56 deletions(-) diff --git a/src/components/Layout.vue b/src/components/Layout.vue index 0e37dc8..114016f 100644 --- a/src/components/Layout.vue +++ b/src/components/Layout.vue @@ -1,16 +1,16 @@ @@ -74,7 +72,7 @@ export default { }; const store = useStore() const Check = (username) => { - store.setuser(username) + store.setUser(username) } @@ -138,7 +136,8 @@ export default { padding: 0 20px; box-sizing: border-box; } -.text{ + +.text { display: flex; margin-top: 25px; height: 20px; diff --git a/src/view/Monit.vue b/src/view/Monit.vue index e3c4146..c0f8bc2 100644 --- a/src/view/Monit.vue +++ b/src/view/Monit.vue @@ -1,21 +1,22 @@