防止错误页返回主页出现嵌套问题

master
RuoYi 5 years ago
parent de6fa42721
commit a1ec9a6508

@ -20,7 +20,7 @@
<script th:inline="javascript">
var ctx = [[@{/}]];
function index() {
window.parent.frames.location.href = ctx + "index";
window.top.location = ctx + "index";
}
</script>
</body>

@ -21,7 +21,7 @@
<script th:inline="javascript">
var ctx = [[@{/}]];
function index() {
window.parent.frames.location.href = ctx + "index";
window.top.location = ctx + "index";
}
</script>
</body>

@ -21,7 +21,7 @@
<script th:inline="javascript">
var ctx = [[@{/}]];
function index() {
window.parent.frames.location.href = ctx + "index";
window.top.location = ctx + "index";
}
</script>
</body>

Loading…
Cancel
Save