mirror of https://gitee.com/y_project/RuoYi.git
防止错误页返回主页出现嵌套问题
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…
Reference in New Issue