wx.showModal({
title: '提示',
content: '您确定要删除该文件吗?',
showCancel: true, //是否显示取消按钮-----false去掉取消按钮
cancelText: "", //默认是“取消”
cancelColor: '', //取消文字的颜色
confirmText: "", //默认是“确定”
confirmColor: '', //确定文字的颜色
success: function(res) {
}
})
微信小程序 wx.showModal去掉取消按钮以及自定样式
最新推荐文章于 2024-04-23 15:40:33 发布