Skip to content

Commit

Permalink
修复弹窗表单保存后跳转异常问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Nov 29, 2020
1 parent 587838b commit ea67920
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions resources/assets/dcat/js/extensions/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ class Form {

if (response.redirect === false || ! options.redirect) {
if (response.data && response.data.then) {
delete response.data['then']['redirect'];
delete response.data['then']['location'];
delete response.data['then']['refresh'];
delete response.data['then'];
delete response.data['then'];
delete response.data['then'];
}
}

Expand Down
2 changes: 1 addition & 1 deletion resources/dist/dcat/js/dcat-app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/js/dcat-app.js.map

Large diffs are not rendered by default.

0 comments on commit ea67920

Please sign in to comment.