Skip to content

Commit 0375b9d

Browse files
perf: Optimize login page
1 parent dd0daeb commit 0375b9d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

ui/src/views/login/index.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ const loginHandle = () => {
191191
.asyncLdapLogin(loginForm.value)
192192
.then(() => {
193193
locale.value = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
194-
loading.value = false
195194
router.push({ name: 'home' })
196195
})
197196
.catch(() => {
@@ -203,7 +202,6 @@ const loginHandle = () => {
203202
.then(() => {
204203
locale.value = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
205204
localStorage.setItem('workspace_id', 'default')
206-
loading.value = false
207205
router.push({ name: 'home' })
208206
})
209207
.catch(() => {

ui/src/views/tool/ToolDebugDrawer.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
:class="isSuccess ? '' : 'color-danger'"
100100
class="pre-wrap"
101101
shadow="never"
102-
style="max-height: 350px; overflow: scroll"
103102
>
104103
{{ String(result) == '0' ? 0 : result || '-' }}
105104
</el-card>

0 commit comments

Comments
 (0)