|
|
- //用户二次确认
- function showConfirm(title, callback) {
- uni.showModal({
- title,
- cancelText : '取消',
- confirmText : '确认',
- success: function(res) {
- if (res.confirm) {
- callback && callback()
- } else if (res.cancel) {}
- }
- });
- }
-
- export default {
- showConfirm
- }
|