提交 4c9a338e 编写于 作者: 雪洛's avatar 雪洛

chore: update showModal

上级 720c7784
......@@ -128,13 +128,14 @@ export function hideToast () {
}
export function showModal ({
title = '',
content = ' ',
content = '',
showCancel = true,
cancelText = '取消',
cancelColor = '#000000',
confirmText = '确定',
confirmColor = '#3CC51F'
} = {}, callbackId) {
} = {}, callbackId) {
content = content || ' '
plus.nativeUI.confirm(content, (e) => {
if (showCancel) {
invoke(callbackId, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册