mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
style: 登录页面-页脚字号与设置不符合
This commit is contained in:
committed by
xuwei-fit2cloud
parent
351f13692a
commit
91cfe2254c
@@ -183,7 +183,7 @@ const loadArrearance = () => {
|
||||
showFoot.value = appearanceStore.getFoot === 'true'
|
||||
if (showFoot.value) {
|
||||
const content = appearanceStore.getFootContent
|
||||
const myXss = new xss.FilterXSS({
|
||||
const myXss = new xss['FilterXSS']({
|
||||
css: {
|
||||
whiteList: {
|
||||
'background-color': true,
|
||||
@@ -194,11 +194,12 @@ const loadArrearance = () => {
|
||||
'line-height': true,
|
||||
'box-sizing': true,
|
||||
'padding-top': true,
|
||||
'padding-bottom': true
|
||||
'padding-bottom': true,
|
||||
'font-size': true
|
||||
}
|
||||
},
|
||||
whiteList: {
|
||||
...xss.whiteList,
|
||||
...xss['whiteList'],
|
||||
p: ['style'],
|
||||
span: ['style']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user