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