mirror of
https://github.com/dataease/dataease.git
synced 2026-05-22 21:38:32 +08:00
Merge pull request #9593 from dataease/pr@dev-v2@fix_template-name
fix(工作台): 修复模版管理创建可视化资源可能因为url路径编码导致无法创建问题
This commit is contained in:
@@ -60,7 +60,9 @@ const classBackground = computed(() => {
|
||||
return {
|
||||
width: props.width + 'px',
|
||||
height: props.width * 0.58 + 'px',
|
||||
background: `url(${imgUrlTrans(thumbnailUrl.value)}) no-repeat`,
|
||||
background: `url(${imgUrlTrans(thumbnailUrl.value)
|
||||
.replace(/\(/g, '%28')
|
||||
.replace(/\)/g, '%29')}) no-repeat`,
|
||||
'background-size': `100% 100%`
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user