diff --git a/inventory_check/static/js/script.js b/inventory_check/static/js/script.js index f909c32..c9de89f 100644 --- a/inventory_check/static/js/script.js +++ b/inventory_check/static/js/script.js @@ -47,5 +47,5 @@ function checknext() { function backtoroot(msg="已完成,返回") { alert(msg); - location.href=""; + location.href="/"; } \ No newline at end of file