diff --git a/src/utils/vuex/store.js b/src/utils/vuex/store.js index a683d62..7f08ccd 100644 --- a/src/utils/vuex/store.js +++ b/src/utils/vuex/store.js @@ -25,7 +25,9 @@ const store = createStore({ } }, actions: { - + login(state, boolean){ + this.login.value + } } }) diff --git a/src/views/Index.vue b/src/views/Index.vue index b2abede..005d2de 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -43,14 +43,10 @@
- @@ -132,4 +128,10 @@ export default { object-fit: contain; border-radius: 50%; } + +/* content样式 */ +.content{ + max-width: 100%; + max-height: 100vh; +} \ No newline at end of file diff --git a/src/views/Login.vue b/src/views/Login.vue index f34f344..a05fd13 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -78,7 +78,7 @@ export default { if (resp.data.code == 200) { console.log(resp.data.msg) this.$router.push({ name: 'index' }) - store.commit('setShowLoginSuccess', true) + store.dispatch('login', true) } }).catch(error => console.log(error)) diff --git a/src/views/page/page1.vue b/src/views/page/page1.vue index 6a4c2c3..bbfbbd5 100644 --- a/src/views/page/page1.vue +++ b/src/views/page/page1.vue @@ -1,15 +1,28 @@ + - \ No newline at end of file + \ No newline at end of file diff --git a/软件说明.docx b/软件说明.docx new file mode 100644 index 0000000..be623ae Binary files /dev/null and b/软件说明.docx differ