diff --git a/src/renderer/src/views/login/index.vue b/src/renderer/src/views/login/index.vue
index 5b62af3..b883d6d 100644
--- a/src/renderer/src/views/login/index.vue
+++ b/src/renderer/src/views/login/index.vue
@@ -2,7 +2,7 @@
-
欢迎登录 {{homeTitle}}
+
欢迎登录 {{ homeTitle }}
@@ -14,46 +14,28 @@
-
+
- 记住密码
-
+ 记住密码
+
- 登录
+ 登录
-
-
+
+
@@ -69,6 +51,7 @@ import leftBg2 from '@/assets/images/login/left-bg2.png'
import WindowTools from '@/components/window-tools/index.vue'
import SelectSubject from '@/components/select-subject/index.vue'
import Register from './components/Register.vue'
+import { sessionStore } from '@/utils/store'
const { session } = require('@electron/remote')
const downloadProp = ref(0)
@@ -99,7 +82,7 @@ ipcRenderer.on('update-app-progress', (e, prop) => {
showDownLoading.value = prop !== 100
})
// 打开弹窗
-const RegisterModel = type =>{
+const RegisterModel = type => {
RegModel.value.OpenModel(type)
}
//登录
@@ -168,6 +151,13 @@ const setCookie = (name, value) => {
onMounted(() => {
localStorage.clear()
+ sessionStore.set('subject', {
+ bookList: null,
+ curBook: null,
+ curNode: null,
+ defaultExpandedKeys: [],
+ subjectTree: []
+ })
getCookie()
})
@@ -179,6 +169,7 @@ onMounted(() => {
align-items: center;
justify-content: center;
-webkit-app-region: drag;
+
.box-item {
width: 444px;
height: 520px;