react-vant-nova 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2219,7 +2219,7 @@ Dialog.confirm = (props) => {
2219
2219
  ...props,
2220
2220
  onCancel: (e) => {
2221
2221
  onCancel(e);
2222
- reject();
2222
+ resolve(false);
2223
2223
  },
2224
2224
  onConfirm: (e) => {
2225
2225
  onConfirm(e);
@@ -3000,7 +3000,7 @@
3000
3000
  ...props,
3001
3001
  onCancel: (e2) => {
3002
3002
  onCancel(e2);
3003
- reject();
3003
+ resolve(false);
3004
3004
  },
3005
3005
  onConfirm: (e2) => {
3006
3006
  onConfirm(e2);