TNSFancyAlert.showSuccess(
"Success!",
"Fancy alerts are nice.",
"Yes they are!",
)
.then(() => {
console.log("success")
}).catch(err => {
console.log(err)
})
错误响应是:[TypeError: cn.refactor.lib.colordialog.PromptDialog is not a constructor]
来自:https ://github.com/NathanWalker/nativescript-fancyalert
我做错什么了吗?