Browse Source

修改dialog缺少返回值的问题

master
gaoxs 5 years ago
parent
commit
1c198ce2dd
  1. 2
      utils/dialog.js

2
utils/dialog.js

@ -14,7 +14,7 @@ const dialog = {
uni.showModal({
title: '提示',
content: options.mes,
success() {
success(res) {
if (res.confirm) {
opts()
} else if (res.cancel) {}

Loading…
Cancel
Save