Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
水玉婷
ai-wechat
Commits
8c28a714
Commit
8c28a714
authored
Mar 11, 2026
by
水玉婷
Browse files
feat:细节优化
parent
23ff5a11
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/views/History.vue
View file @
8c28a714
...
@@ -443,7 +443,6 @@ onMounted(() => {
...
@@ -443,7 +443,6 @@ onMounted(() => {
height: 100vh;
height: 100vh;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
background-color: #f5f5f5;
position: relative;
position: relative;
overflow: hidden;
overflow: hidden;
}
}
...
...
src/views/Login.vue
View file @
8c28a714
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
ref
,
onMounted
}
from
'
vue
'
import
{
ref
,
onMounted
,
onUnmounted
}
from
'
vue
'
import
{
useRouter
}
from
'
vue-router
'
import
{
useRouter
}
from
'
vue-router
'
import
wechat
from
'
../utils/wechat
'
import
wechat
from
'
../utils/wechat
'
...
@@ -57,6 +57,10 @@ export default {
...
@@ -57,6 +57,10 @@ export default {
// 执行静默登录
// 执行静默登录
handleLogin
()
handleLogin
()
})
})
onUnmounted
(()
=>
{
// 组件卸载时,移除登录状态
wechat
.
logout
()
})
return
{
return
{
loading
,
loading
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment