提交 efb38cca 编写于 作者: Q qiang

chore: update types

上级 a7b69106
......@@ -37,7 +37,7 @@ export const showModal = defineAsyncApi<API_TYPE_SHOW_MODAL>(
}
},
title as PlusNativeUIConfirmStyles,
showCancel ? [cancelText, confirmText] : [confirmText]
showCancel ? [cancelText!, confirmText!] : [confirmText!]
)
},
ShowModalProtocol,
......
......@@ -47,7 +47,7 @@ export function initTitleNView(
function createTitleImageTags(titleImage: string) {
return [
{
tag: 'img',
tag: 'img' as 'img',
src: titleImage,
position: {
left: 'auto',
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册