点击退出登录报错(online兼容修复)
parent
0b5dc1db62
commit
530d663407
|
@ -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', content as string);
|
return h('div', h('div', content as string));
|
||||||
} else {
|
} else {
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue