mirror of https://gitee.com/y_project/RuoYi.git
防止错误页返回主页出现嵌套问题
parent
de6fa42721
commit
a1ec9a6508
|
@ -20,7 +20,7 @@
|
||||||
<script th:inline="javascript">
|
<script th:inline="javascript">
|
||||||
var ctx = [[@{/}]];
|
var ctx = [[@{/}]];
|
||||||
function index() {
|
function index() {
|
||||||
window.parent.frames.location.href = ctx + "index";
|
window.top.location = ctx + "index";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<script th:inline="javascript">
|
<script th:inline="javascript">
|
||||||
var ctx = [[@{/}]];
|
var ctx = [[@{/}]];
|
||||||
function index() {
|
function index() {
|
||||||
window.parent.frames.location.href = ctx + "index";
|
window.top.location = ctx + "index";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<script th:inline="javascript">
|
<script th:inline="javascript">
|
||||||
var ctx = [[@{/}]];
|
var ctx = [[@{/}]];
|
||||||
function index() {
|
function index() {
|
||||||
window.parent.frames.location.href = ctx + "index";
|
window.top.location = ctx + "index";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue