@zat-design/sisyphus-react 3.13.0 → 3.13.1
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.
package/es/ProStepTab/index.js
CHANGED
@@ -131,14 +131,10 @@ export function useStepTab() {
|
|
131
131
|
setLoading(false);
|
132
132
|
return _context.abrupt("return", false);
|
133
133
|
case 13:
|
134
|
-
_context.prev = 13;
|
135
|
-
setLoading(false);
|
136
|
-
return _context.finish(13);
|
137
|
-
case 16:
|
138
134
|
case "end":
|
139
135
|
return _context.stop();
|
140
136
|
}
|
141
|
-
}, _callee, null, [[1, 9
|
137
|
+
}, _callee, null, [[1, 9]]);
|
142
138
|
}));
|
143
139
|
}, []);
|
144
140
|
// 注册步骤处理函数
|
@@ -270,7 +266,7 @@ export function useStepTab() {
|
|
270
266
|
}
|
271
267
|
nextKey = String(currentKeyNum + 1); // 自动跳转到下一个tab
|
272
268
|
_context4.next = 11;
|
273
|
-
return setCheckActiveKey(nextKey);
|
269
|
+
return setCheckActiveKey(nextKey, false);
|
274
270
|
case 11:
|
275
271
|
if (!(result === false)) {
|
276
272
|
_context4.next = 13;
|
package/lib/ProStepTab/index.js
CHANGED
@@ -141,14 +141,10 @@ function useStepTab() {
|
|
141
141
|
setLoading(false);
|
142
142
|
return _context.abrupt("return", false);
|
143
143
|
case 13:
|
144
|
-
_context.prev = 13;
|
145
|
-
setLoading(false);
|
146
|
-
return _context.finish(13);
|
147
|
-
case 16:
|
148
144
|
case "end":
|
149
145
|
return _context.stop();
|
150
146
|
}
|
151
|
-
}, _callee, null, [[1, 9
|
147
|
+
}, _callee, null, [[1, 9]]);
|
152
148
|
}));
|
153
149
|
}, []);
|
154
150
|
// 注册步骤处理函数
|
@@ -280,7 +276,7 @@ function useStepTab() {
|
|
280
276
|
}
|
281
277
|
nextKey = String(currentKeyNum + 1); // 自动跳转到下一个tab
|
282
278
|
_context4.next = 11;
|
283
|
-
return setCheckActiveKey(nextKey);
|
279
|
+
return setCheckActiveKey(nextKey, false);
|
284
280
|
case 11:
|
285
281
|
if (!(result === false)) {
|
286
282
|
_context4.next = 13;
|