修改技术监督bug
This commit is contained in:
@@ -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']))
|
||||
|
||||
Reference in New Issue
Block a user