fix: 工单复核bug

pull/6882/head^2
feng626 3 years ago committed by Jiangjie.Bai
parent f129f99faa
commit 0f7c8c2570

@ -134,7 +134,6 @@ function cancelTicket() {
} }
function cancelCloseConfirm() { function cancelCloseConfirm() {
cancelTicket();
window.onbeforeunload = function() {}; window.onbeforeunload = function() {};
window.onunload = function(){}; window.onunload = function(){};
} }
@ -158,6 +157,7 @@ $(document).ready(function () {
cancelCloseConfirm(); cancelCloseConfirm();
window.location.reload(); window.location.reload();
}).on('click', '.btn-return', function () { }).on('click', '.btn-return', function () {
cancelTicket();
cancelCloseConfirm(); cancelCloseConfirm();
window.location = "{% url 'authentication:login' %}" window.location = "{% url 'authentication:login' %}"
}) })

Loading…
Cancel
Save