弹窗样式问题
parent
eaa5c7b926
commit
3ecae67e48
|
@ -54,7 +54,7 @@ function getIcon(iconType: string) {
|
|||
function renderContent({ content }: Pick<ModalOptionsEx, 'content'>) {
|
||||
try {
|
||||
if (isString(content)) {
|
||||
return h('div', h('div', content as string));
|
||||
return h('div', h('div', {'innerHTML':content as string}));
|
||||
} else {
|
||||
return content;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue