mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 11:32:57 +08:00
style: 登录页面-页脚字号与设置不符合
This commit is contained in:
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']
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user