业务内容模块
使用场景:需要外嵌平台某个页面,不需要展示菜单导航以及额外模块
-
diff --git a/src/views/error/403.vue b/src/views/error/403.vue
index 2a763ac4b..83b0838f0 100644
--- a/src/views/error/403.vue
+++ b/src/views/error/403.vue
@@ -1,9 +1,12 @@
@@ -46,7 +49,7 @@ defineOptions({
+import { useRouter } from "vue-router";
import noExist from "@/assets/status/404.svg?component";
defineOptions({
name: "404"
});
+
+const router = useRouter();
@@ -46,7 +49,7 @@ defineOptions({
+import { useRouter } from "vue-router";
import noServer from "@/assets/status/500.svg?component";
defineOptions({
name: "500"
});
+
+const router = useRouter();
@@ -46,7 +49,7 @@ defineOptions({
关闭标签
-
+
跳转页内菜单(传name对象,优先推荐)
-
+
跳转页内菜单(直接传要跳转的路径)
跳转页内菜单(传path对象)
@@ -116,7 +116,7 @@ function onCloseTags() {
-
+
跳转无Layout的空白页面