Appearance
类型: ShowModalOptions<>
属性
cancelColor
• cancelColor: undefined | string
取消按钮的文字颜色,默认为"#000000"。
cancelText
• cancelText: undefined | string
取消按钮的文字,默认为"取消"。
complete
• complete: undefined | (result: any) => void
接口调用结束的回调函数(调用成功、失败都会执行)。
confirmColor
• confirmColor: undefined | string
确定按钮的文字颜色,默认为"#3CC51F"。
confirmText
• confirmText: undefined | string
确定按钮的文字,默认为"确定"。
editable
• editable: undefined | boolean
是否显示输入框。
fail
• fail: undefined | (result: any) => void
接口调用失败的回调函数。
placeholderText
• placeholderText: undefined | string
显示输入框时的提示文本。
showCancel
• showCancel: undefined | boolean
是否显示取消按钮,默认为 true。
success
• success: undefined | (result: any) => void
接口调用成功的回调函数。
title
• title: undefined | string
提示的内容。