Jelajahi Sumber

表格编辑路由添加

lph 1 tahun lalu
induk
melakukan
d974745959

+ 7 - 0
ruoyi-ui/src/router/index.js

@@ -58,6 +58,13 @@ export const constantRoutes = [
     path: '/tableMange',
     component: Layout,
     hidden: true,
+    name: 'tableMange',
+    meta: {
+      title: "表格编辑",
+      icon: "form",
+      noCache: false,
+      link: null
+    },
     children: [
       {
         path: 'index',

+ 2 - 2
ruoyi-ui/src/views/dragform/tableList.vue

@@ -306,7 +306,7 @@ export default {
     // },
     handleAdd() {
       this.$router.push({
-        path: "/tableMange/index",
+        path: "/system/fromModel/index/tableMange",
       });
     },
     /** 修改按钮操作 */
@@ -319,7 +319,7 @@ export default {
       //     this.title = "修改动态格";
       //   });
       this.$router.push({
-        path: "/tableMange/index",
+        path: "/system/fromModel/index/tableMange",
         query: {
           tId: row.tId,
         },