修改技术监督bug

This commit is contained in:
GGJ
2024-06-18 16:38:33 +08:00
parent 16f0a9fa5a
commit 75b3e9992d
25 changed files with 435 additions and 366 deletions

View File

@@ -33,7 +33,6 @@
type="password"
placeholder="密码"
autocomplete="off"
show-password
>
<template #prefix>
<Icon name="local-password" style="color: var(--el-color-primary); font-size: 16px" />
@@ -128,6 +127,8 @@ onBeforeUnmount(() => {
pageBubble.removeListeners()
})
getTheme().then(res => {
document.title = res.data.name || '电能质量在线监测系统'
let list: any = [
'elementUiPrimary',
'tableHeaderBackground',
@@ -144,7 +145,6 @@ getTheme().then(res => {
getThemeList.value = res.data
window.localStorage.setItem('getTheme', JSON.stringify(res.data))
for (let i = 0; i < list.length; i++) {
configStore.setLayout(list[i], JSON.parse(res.data[list[i]]))
}
configStore.setLayout('elementUiPrimary', JSON.parse(res.data['elementUiPrimary']))