弹窗样式问题

pull/170/head^2
zhangdaiscott 2022-09-23 16:43:06 +08:00
parent eaa5c7b926
commit 3ecae67e48
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}