@@ -23,7 +23,13 @@ export default {
let oh = document.documentElement.clientHeight;
return oh-85
- }
+ } ,
+ currentPath() {
+ return this.$route.path; // 获取当前路由的路径
+ },
+ currentName() {
+ return this.$route.name; // 获取当前路由的名称
+ }
},
}
@@ -43,6 +49,7 @@ export default {
width: calc(100% - 0px);
height: calc(100%);
background-color: #f6f4f4;
+ font-size: 14px;
}
.layout-content-wrap{
width: 100%;
diff --git a/src/pages/workbench/index-old.vue b/src/pages/workbench/index-old.vue
new file mode 100644
index 0000000..eb17902
--- /dev/null
+++ b/src/pages/workbench/index-old.vue
@@ -0,0 +1,590 @@
+
+
+
+
+
+
+
+
+

+
+
+
+
+

+
+
+
+
+

+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/workbench/index.vue b/src/pages/workbench/index.vue
index eb17902..449a46d 100644
--- a/src/pages/workbench/index.vue
+++ b/src/pages/workbench/index.vue
@@ -1,192 +1,172 @@