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.
@@ -133,7 +133,7 @@ Dialog.confirm = props => {
133
133
  }, props), {
134
134
  onCancel: e => {
135
135
  onCancel(e);
136
- reject();
136
+ resolve(false);
137
137
  },
138
138
  onConfirm: e => {
139
139
  onConfirm(e);
@@ -165,7 +165,7 @@ Dialog.confirm = props => {
165
165
  }, props), {
166
166
  onCancel: e => {
167
167
  onCancel(e);
168
- reject();
168
+ resolve(false);
169
169
  },
170
170
  onConfirm: e => {
171
171
  onConfirm(e);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-vant-nova",
3
- "version": "1.0.5",
4
- "description": "基于 Vant UI 迭代维护的 React 移动端 UI 组件库(兼容 React 19+)",
3
+ "version": "1.0.6",
4
+ "description": "React Mobile UI Components base on Vant UI(此版本兼容 React 19+)",
5
5
  "keywords": [
6
6
  "ui",
7
7
  "react",