Browse Source

ignore mock dir

wangzhiqiang 5 months ago
parent
commit
7a4e110b09
9 changed files with 2 additions and 1201 deletions
  1. 2 0
      .gitignore
  2. 0 503
      mock/backmenu.js
  3. 0 26
      mock/card.js
  4. 0 27
      mock/menu.js
  5. 0 73
      mock/systemUser.js
  6. 0 136
      mock/table.js
  7. 0 84
      mock/user.js
  8. 0 336
      mock/work.js
  9. 0 16
      mockProdServer.js

+ 2 - 0
.gitignore

@@ -11,6 +11,8 @@ node_modules
 dist
 dist-ssr
 *.local
+mock
+mockProdServer.js
 
 # Editor directories and files
 .vscode/*

+ 0 - 503
mock/backmenu.js

@@ -1,503 +0,0 @@
-/*
- * @Date: 2023-03-10 19:57:44
- * @Description: 
- */
-export default [
-  {
-    url: `/mock/menu/list`,
-    method: 'post',
-    response: () => {
-      return {
-        code: 200,
-        data: {
-          list: [
-            {
-              "path": "/",
-              "redirect": "/dashboard",
-              "meta": {
-                "title": "dashboard",
-                "icon": "sfont system-home"
-              },
-              "children": [
-                {
-                  "path": "dashboard",
-                  "meta": {
-                    "title": "首页",
-                    "icon": "sfont system-home",
-                    "hideClose": true
-                  },
-                  "component": "dashboard_dashboard"
-                }
-              ]
-            },
-            {
-              "path": "/document",
-              "redirect": "/document/intro",
-              "meta": {
-                "title": "文档",
-                "icon": "sfont system-document"
-              },
-              "children": [
-                {
-                  "path": "intro",
-                  "meta": {
-                    "title": "使用说明"
-                  },
-                  "component": "document_intro"
-                },
-                {
-                  "path": "function",
-                  "meta": {
-                    "title": "功能说明"
-                  },
-                  "component": "document_function"
-                },
-                {
-                  "path": "menu",
-                  "meta": {
-                    "title": "路由菜单配置"
-                  },
-                  "component": "document_menu"
-                },
-                {
-                  "path": "keep-alive",
-                  "meta": {
-                    "title": "keepAlive使用说明"
-                  },
-                  "component": "document_keep-alive"
-                },
-                {
-                  "path": "crud",
-                  "meta": {
-                    "title": "数据表格的增删改查"
-                  },
-                  "component": "document_crud"
-                },
-                {
-                  "path": "theme",
-                  "meta": {
-                    "title": "自定义主题"
-                  },
-                  "component": "document_theme"
-                },
-                {
-                  "path": "systemfont",
-                  "meta": {
-                    "title": "项目图标的说明"
-                  },
-                  "component": "document_systemfont"
-                },
-                {
-                  "path": "api",
-                  "meta": {
-                    "title": "接口说明文档"
-                  },
-                  "component": "document_api"
-                }
-              ]
-            },
-            {
-              "path": "/component",
-              "redirect": "/component/table",
-              "meta": {
-                "title": "组件",
-                "icon": "sfont system-component"
-              },
-              "alwayShow": true,
-              "children": [
-                {
-                  "path": "button",
-                  "meta": {
-                    "title": "按钮"
-                  },
-                  "component": "component_button"
-                },
-                {
-                  "path": "wordEditor",
-                  "meta": {
-                    "title": "文本编辑器"
-                  },
-                  "component": "component_wordEditor"
-                },
-                {
-                  "path": "mdEditor",
-                  "meta": {
-                    "title": "md编辑器"
-                  },
-                  "component": "component_mdEditor"
-                },
-                {
-                  "path": "codeEditor",
-                  "meta": {
-                    "title": "代码编辑器"
-                  },
-                  "component": "component_codeEditor"
-                },
-                {
-                  "path": "jsonEditor",
-                  "meta": {
-                    "title": "JSON编辑器"
-                  },
-                  "component": "component_jsonEditor"
-                },
-                {
-                  "path": "dragPane",
-                  "meta": {
-                    "title": "可拖拽面板"
-                  },
-                  "component": "component_dragPane"
-                },
-                {
-                  "path": "map",
-                  "meta": {
-                    "title": "地图组件"
-                  },
-                  "component": "component_map"
-                },
-                {
-                  "path": "cutPhoto",
-                  "meta": {
-                    "title": "弹窗图片裁剪"
-                  },
-                  "component": "component_cutPhoto"
-                },
-                {
-                  "path": "rightMenu",
-                  "meta": {
-                    "title": "右键菜单"
-                  },
-                  "component": "component_rightMenu"
-                },
-                {
-                  "path": "exportExcel",
-                  "meta": {
-                    "title": "导出文件"
-                  },
-                  "component": "component_exportExcel"
-                }
-              ]
-            },
-            {
-              "path": "/pages",
-              "redirect": "/pages/crudTable",
-              "meta": {
-                "title": "页面",
-                "icon": "sfont system-page"
-              },
-              "alwayShow": true,
-              "children": [
-                {
-                  "path": "crudTable",
-                  "meta": {
-                    "title": "业务表格",
-                    "cache": false
-                  },
-                  "component": "pages_crudTable"
-                },
-                {
-                  "path": "categoryTable",
-                  "meta": {
-                    "title": "分类联动表格",
-                    "cache": true
-                  },
-                  "component": "pages_categoryTable"
-                },
-                {
-                  "path": "treeTable",
-                  "meta": {
-                    "title": "树联动表格",
-                    "cache": true
-                  },
-                  "component": "pages_treeTable"
-                },
-                {
-                  "path": "card",
-                  "meta": {
-                    "title": "卡片列表",
-                    "cache": true
-                  },
-                  "component": "pages_card"
-                },
-                {
-                  "path": "work",
-                  "meta": {
-                    "title": "工作进度"
-                  },
-                  "component": "pages_work"
-                },
-                {
-                  "path": "blog",
-                  "meta": {
-                    "title": "外部链接"
-                  },
-                  "component": "pages_blog"
-                }
-              ]
-            },
-            {
-              "path": "/menu",
-              "redirect": "/menu/menu-1",
-              "alwayShow": true,
-              "meta": {
-                "title": "多级嵌套菜单",
-                "icon": "sfont system-menu"
-              },
-              "children": [
-                {
-                  "path": "menu-1",
-                  "redirect": "/menu/menu-1/menu-1-1",
-                  "meta": {
-                    "title": "二级菜单1"
-                  },
-                  "children": [
-                    {
-                      "path": "menu-1-1",
-                      "redirect": "/menu/menu-1/menu-1-1/menu-1-1-1",
-                      "meta": {
-                        "title": "三级菜单1-1"
-                      },
-                      "children": [
-                        {
-                          "path": "menu-1-1-1",
-                          "meta": {
-                            "title": "四级菜单1-1-1"
-                          },
-                          "component": "menu_menu-1-1-1"
-                        },
-                        {
-                          "path": "menu-1-1-2",
-                          "meta": {
-                            "title": "四级菜单1-1-2"
-                          },
-                          "component": "menu_menu-1-1-2"
-                        }
-                      ]
-                    },
-                    {
-                      "path": "menu-1-2",
-                      "meta": {
-                        "title": "三级菜单1-2"
-                      },
-                      "component": "menu_menu-1-2"
-                    }
-                  ]
-                },
-                {
-                  "path": "menu-2",
-                  "meta": {
-                    "title": "二级菜单2"
-                  },
-                  "component": "menu_menu-2"
-                },
-                {
-                  "path": "menu-3",
-                  "meta": {
-                    "title": "二级菜单3"
-                  },
-                  "component": "menu_menu-3"
-                }
-              ]
-            },
-            {
-              "path": "/directive",
-              "redirect": "/directive/copy",
-              "meta": {
-                "title": "自定义指令",
-                "icon": "sfont system-zidingyi"
-              },
-              "children": [
-                {
-                  "path": "dragable",
-                  "meta": {
-                    "title": "拖拽指令:v-dragable"
-                  },
-                  "component": "directive_dragable"
-                },
-                {
-                  "path": "copy",
-                  "meta": {
-                    "title": "复制指令:v-copy"
-                  },
-                  "component": "directive_copy"
-                },
-                {
-                  "path": "waterMarker",
-                  "meta": {
-                    "title": "水印指令:v-waterMarker"
-                  },
-                  "component": "directive_waterMarker"
-                },
-                {
-                  "path": "longpress",
-                  "meta": {
-                    "title": "长按指令:v-longpress"
-                  },
-                  "component": "directive_longpress"
-                },
-                {
-                  "path": "debounce",
-                  "meta": {
-                    "title": "按钮防抖指令:v-debounce"
-                  },
-                  "component": "directive_debounce"
-                },
-                {
-                  "path": "scroll",
-                  "meta": {
-                    "title": "下拉加载指令:v-infinite-scroll"
-                  },
-                  "component": "directive_scroll"
-                },
-                {
-                  "path": "clickOutside",
-                  "meta": {
-                    "title": "点击外部区域:v-click-outside"
-                  },
-                  "component": "directive_clickOutside"
-                }
-              ]
-            },
-            {
-              "path": "/echarts",
-              "redirect": "/echarts/dragable",
-              "meta": {
-                "title": "echarts图表",
-                "icon": "sfont system-chart"
-              },
-              "children": [
-                {
-                  "path": "bar",
-                  "meta": {
-                    "title": "柱状图"
-                  },
-                  "component": "echarts_bar"
-                },
-                {
-                  "path": "line",
-                  "meta": {
-                    "title": "折线图"
-                  },
-                  "component": "echarts_line"
-                },
-                {
-                  "path": "pie",
-                  "meta": {
-                    "title": "饼图"
-                  },
-                  "component": "echarts_pie"
-                },
-                {
-                  "path": "radar",
-                  "meta": {
-                    "title": "雷达图"
-                  },
-                  "component": "echarts_radar"
-                },
-                {
-                  "path": "map",
-                  "meta": {
-                    "title": "地图"
-                  },
-                  "component": "echarts_map"
-                }
-              ]
-            },
-            {
-              "path": "/systemManage",
-              "redirect": "/systemManage/menu",
-              "meta": {
-                "title": "系统管理",
-                "icon": "sfont system-xitongzhuangtai"
-              },
-              "alwayShow": true,
-              "children": [
-                {
-                  "path": "menu",
-                  "meta": {
-                    "title": "菜单"
-                  },
-                  "component": "systemManage_menu"
-                },
-                {
-                  "path": "role",
-                  "meta": {
-                    "title": "角色"
-                  },
-                  "component": "systemManage_role"
-                },
-                {
-                  "path": "user",
-                  "meta": {
-                    "title": "用户"
-                  },
-                  "component": "systemManage_user"
-                }
-              ]
-            },
-            {
-              "path": "/print",
-              "redirect": "/print/js",
-              "meta": {
-                "title": "打印功能",
-                "icon": "sfont system-24gl-printer"
-              },
-              "children": [
-                {
-                  "path": "js",
-                  "meta": {
-                    "title": "JS打印事件",
-                    "icon": "sfont system-24gl-printer"
-                  },
-                  "component": "print_js"
-                }
-              ]
-            },
-            {
-              "path": "/community",
-              "redirect": "/community/qq",
-              "meta": {
-                "title": "社区的力量",
-                "icon": "sfont system-shequ"
-              },
-              "children": [
-                {
-                  "path": "qq",
-                  "meta": {
-                    "title": "QQ交流群"
-                  },
-                  "component": "community_qq"
-                },
-                {
-                  "path": "site",
-                  "meta": {
-                    "title": "vue3最新资源库"
-                  },
-                  "component": "community_site"
-                }
-              ]
-            },
-            {
-              "path": "/tab",
-              "redirect": "/tab/index",
-              "meta": {
-                "title": "打印功能",
-                "icon": "sfont system-24gl-printer"
-              },
-              "children": [
-                {
-                  "path": "index",
-                  "meta": {
-                    "title": "tab事件公用",
-                    "icon": "sfont system-24gl-printer"
-                  },
-                  "component": "tab_index"
-                }
-              ]
-            }
-          ]
-        },
-        msg: ''
-      };
-    }
-  },
-]

+ 0 - 26
mock/card.js

@@ -1,26 +0,0 @@
-export default [
-  {
-    url: `/mock/card/list`,
-    method: 'post',
-    response: ({ body }) => {
-      const { page, pageSize } = body
-      return {
-        code: 200,
-        data: {
-          [`list|${pageSize}`]: [{
-            'id|+1': 0,
-            title: '@ctitle',
-            image: 'http://blog.51weblove.com/wp-content/uploads/2019/03/2019032323331541.jpg',
-            time: '@date(yyyy-MM-dd hh:mm:ss)'
-          }],
-          pager: {
-            page: page,
-            pageSize: pageSize,
-            total: 198
-          }
-        },
-        msg: ''
-      };
-    }
-  },
-]

+ 0 - 27
mock/menu.js

@@ -1,27 +0,0 @@
-/** 给接口使用 */
-const menu = [
-  {
-    path: '/',
-    meta: { title: 'dashboard', icon: 'sfont icon-home' },
-    children: [
-      {
-        path: 'dashboard',
-        meta: { title: '首页', icon: 'sfont icon-home', hideClose: true }
-      }
-    ]
-  }
-]
-
-export default [
-  /** 需要展示的菜单模拟接口 */
-  {
-    url: `/mock/menu/list`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: menu
-      }
-    }
-  }
-]

+ 0 - 73
mock/systemUser.js

@@ -1,73 +0,0 @@
-const roles = ['系统管理员', '平台管理员', '数据统计人员', '信息录入人员', '普通人员']
-export default [
-  {
-    url: `/mock/system/user/list`,
-    method: 'post',
-    response: ({ body }) => {
-      const { page, pageSize } = body
-      return {
-        code: 200,
-        data: {
-          [`list|${pageSize}`]: [{
-            'id|+1': 0,
-            name: '@name',
-            nickName: '@cname',
-            'status|1': [0,1],
-            'role|1': roles,
-            'isAdmin|1': [0,1]
-          }],
-          pager: {
-            page: page,
-            pageSize: pageSize,
-            total: 198
-          }
-        },
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/system/user/add`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {},
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/system/user/update`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {},
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/system/user/updateStatus`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {},
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/system/user/del`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {},
-        msg: ''
-      };
-    }
-  },
-]

+ 0 - 136
mock/table.js

@@ -1,136 +0,0 @@
-export default [
-  {
-    url: `/mock/table/list`,
-    method: 'post',
-    response: ({ body }) => {
-      const { page, pageSize } = body
-      return {
-        code: 200,
-        data: {
-          [`list|${pageSize}`]: [{
-            'id|+1': 0,
-            'name': '@cname',
-            "number|+1": 500,
-            "choose|1": [1, 2, 3, 4],
-            "radio|1": [1, 2, 3]
-          }],
-          pager: {
-            page: page,
-            pageSize: pageSize,
-            total: 198
-          }
-        },
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/table/category`,
-    method: 'post',
-    response: ({ body }) => {
-      const { page, pageSize } = body
-      return {
-        code: 200,
-        data: {
-          [`list|${pageSize}`]: [{
-            'id|+1': 100 * page,
-            'name': '@ctitle'
-          }],
-          pager: {
-            page: page,
-            pageSize: pageSize,
-            total: 100
-          }
-        },
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/table/tree`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: [{
-          label: '人事部',
-          id: 1,
-          'children|5': [{
-            label: '@cname',
-            'id|+1': 10
-          }]
-        }, {
-          label: '研发部',
-          id: 2,
-          children: [{
-            label: '前端',
-            id: 3,
-            'children|5': [{
-              label: '@cname',
-              'id|+1': 20
-            }]
-          }, {
-            label: '后端',
-            id: 4,
-            'children|5': [{
-              label: '@cname',
-              'id|+1': 30
-            }]
-          }]
-        }, {
-          label: '运营部',
-          id: 5,
-          children: [{
-            label: '市场运营',
-            id: 6,
-            'children|5': [{
-              label: '@cname',
-              'id|+1': 40
-            }]
-          }, {
-            label: '互联网营销',
-            id: 7,
-            'children|5': [{
-              label: '@cname',
-              'id|+1': 50
-            }]
-          }]
-        }],
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/table/add`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {},
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/table/update`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {},
-        msg: ''
-      };
-    }
-  },
-  {
-    url: `/mock/table/del`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {},
-        msg: ''
-      };
-    }
-  },
-]

+ 0 - 84
mock/user.js

@@ -1,84 +0,0 @@
-const users = [
-  { name: 'admin', password: '123456', token: 'admin', info: {
-    name: '系统管理员'
-  }},
-  { name: 'editor', password: '123456', token: 'editor', info: {
-    name: '编辑人员'
-  }},
-  { name: 'test', password: '123456', token: 'test', info: {
-    name: '测试人员'
-  }},
-]
-export default [
-  {
-    url: `/mock/user/login`,
-    method: 'post',
-    response: ({ body }) => {
-      const user = users.find(user => {
-        return body.name === user.name && body.password === user.password
-      })
-      if (user) {
-        return {
-          code: 200,
-          data: {
-            token: user.token,
-          },
-        };
-      } else {
-        return {
-          code: 401,
-          data: {},
-          msg: '用户名或密码错误'
-        };
-      }
-      
-    }
-  },
-  {
-    url: `/mock/user/info`,
-    method: 'post',
-    response: ({ body }) => {
-      const { token } = body
-      const info = users.find(user => {
-        return user.token === token
-      }).info
-      if (info) {
-        return {
-          code: 200,
-          data: {
-            info: info
-          },
-        };
-      } else {
-        return {
-          code: 403,
-          data: {},
-          msg: '无访问权限'
-        };
-      }
-      
-    }
-  },
-  {
-    url: `/mock/user/out`,
-    method: 'post',
-    response: () => {
-      return {
-        code: 200,
-        data: {},
-        msg: 'success'
-      };
-    }
-  },
-  {
-    url: `/mock/user/passwordChange`,
-    method: 'post',
-    response: () => {
-      return {
-        code: 200,
-        data: {},
-        msg: 'success'
-      };
-    }
-  },
-]

+ 0 - 336
mock/work.js

@@ -1,336 +0,0 @@
-export default [
-  {
-    url: `/mock/work/list`,
-    method: 'post',
-    response: ({ body }) => {
-      return {
-        code: 200,
-        data: {
-          list: [
-            {
-              name: '待处理',
-              children: [
-                {
-                  id: 101,
-                  tags: ['优化'],
-                  name: '父级菜单显示为白色',
-                  options: [
-                    '类型:系统优化'
-                  ]
-                }, {
-                  id: 102,
-                  tags: ['优化'],
-                  name: '菜单国际化处理',
-                  options: [
-                    '类型:系统优化'
-                  ]
-                }, {
-                  id: 103,
-                  tags: ['优化'],
-                  name: '系统全局国际化',
-                  options: [
-                    '类型:系统优化'
-                  ]
-                }]
-            },
-            {
-              name: '处理中',
-              children: [{
-                id: 12,
-                tags: ['新增'],
-                name: '系统管理-菜单管理',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 104,
-                tags: ['新增'],
-                name: '系统管理-字典管理',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 105,
-                tags: ['新增'],
-                name: '系统管理-用户管理',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 13,
-                tags: ['新增'],
-                name: '系统管理-角色管理',
-                options: [
-                  '类型:页面'
-                ]
-              },
-                
-              ]
-            },
-            {
-              name: '测试中',
-              children: [{
-                id: 11,
-                tags: ['新增'],
-                name: '右键菜单',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 14,
-                tags: ['优化'],
-                name: 'tab标签栏Keep-alive',
-                options: [
-                  '类型:系统优化'
-                ]
-              },{
-                id: 15,
-                tags: ['优化'],
-                name: 'tab标签栏切换时自动居中处理tab标签栏切换时自动居中处理',
-                options: [
-                  '类型:系统优化'
-                ]
-              },{
-                id: 6,
-                tags: ['新增'],
-                name: '柱状图',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 7,
-                tags: ['新增'],
-                name: '折线图',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 8,
-                tags: ['新增'],
-                name: '饼图',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 9,
-                tags: ['新增'],
-                name: '雷达图',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 10,
-                tags: ['新增'],
-                name: '地图',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 1,
-                tags: ['新增'],
-                name: '拖拽指令',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 2,
-                tags: ['新增'],
-                name: '复制指令',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 3,
-                tags: ['新增'],
-                name: '防抖指令',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 4,
-                tags: ['新增'],
-                name: '长按指令',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 5,
-                tags: ['新增'],
-                name: '下拉加载',
-                options: [
-                  '类型:页面'
-                ]
-              },]
-            },
-            {
-              name: '已完成',
-              children: [{
-                id: 16,
-                tags: ['新增'],
-                name: '页面-工作进度',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 18,
-                tags: ['系统'],
-                name: '路由管理router',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 19,
-                tags: ['系统'],
-                name: '存储方案store',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 20,
-                tags: ['系统'],
-                name: '登录管理',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 21,
-                tags: ['系统'],
-                name: '菜单配置',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 22,
-                tags: ['系统'],
-                name: '国际化解决方案',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 23,
-                tags: ['系统'],
-                name: '尺寸切换',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 24,
-                tags: ['系统'],
-                name: '全屏功能',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 25,
-                tags: ['系统'],
-                name: '导航栏功能',
-                options: [
-                  '类型:系统'
-                ]
-              },{
-                id: 26,
-                tags: ['新增'],
-                name: '首页',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 27,
-                tags: ['新增'],
-                name: '首页',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 28,
-                tags: ['新增'],
-                name: '组件-按钮',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 29,
-                tags: ['新增'],
-                name: '组件-文本编辑器',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 30,
-                tags: ['新增'],
-                name: '组件-代码编辑器',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 31,
-                tags: ['新增'],
-                name: '组件-md编辑器',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 32,
-                tags: ['新增'],
-                name: '组件-JSON编辑器',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 33,
-                tags: ['新增'],
-                name: '组件-可拖拽面板',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 34,
-                tags: ['新增'],
-                name: '组件-地图组件',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 35,
-                tags: ['新增'],
-                name: '组件-弹窗图片裁剪',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 36,
-                tags: ['新增'],
-                name: '多级嵌套表单',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 37,
-                tags: ['新增'],
-                name: '页面-业务表格',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 38,
-                tags: ['新增'],
-                name: '页面-卡片列表',
-                options: [
-                  '类型:页面'
-                ]
-              },{
-                id: 39,
-                tags: ['新增'],
-                name: '页面-百度一下',
-                options: [
-                  '类型:页面'
-                ]
-              }]
-            }
-          ]
-        },
-        msg: ''
-      };
-    }
-  },
-]

+ 0 - 16
mockProdServer.js

@@ -1,16 +0,0 @@
-import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer';
-import userModule from './mock/user'
-import tableModule from './mock/table'
-import cardModule from './mock/card'
-import workModule from './mock/work'
-import UserMoudle from './mock/systemUser'
-
-export function setupProdMockServer() {
-  createProdMockServer([
-    ...userModule,
-    ...tableModule,
-    ...cardModule,
-    ...workModule,
-    ...UserMoudle
-  ]);
-}