Commit 551b7378 by LiZhen

修改BUG

1 parent e3c8c330
Showing with 1 additions and 1 deletions
......@@ -1584,7 +1584,7 @@ export default {
)
item['archiLevelName'] = result1 ? result1.label : ''
item['archiBelongName'] = result2 ? result2.label : ''
if (item?.icon.includes('svg+xml')) {
if (item.icon?.includes('svg+xml')) {
const item_icon = item.icon.split('base64,')[1]
const decode_item_icon = window.atob(item_icon) //svg解码,为字符串
const svgDocument = new DOMParser().parseFromString(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!