@zat-design/sisyphus-react 3.1.5-beta.1 → 3.1.5-beta.2
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.
|
@@ -387,6 +387,9 @@ var ProHeader = function ProHeader(props) {
|
|
|
387
387
|
var onConfirm = function onConfirm() {
|
|
388
388
|
if (!isConfirmBack) {
|
|
389
389
|
onBack && onBack();
|
|
390
|
+
if (!onBack) {
|
|
391
|
+
window.history.back();
|
|
392
|
+
}
|
|
390
393
|
return false;
|
|
391
394
|
}
|
|
392
395
|
_antd.Modal.confirm((0, _objectSpread2.default)({
|