diff --git a/src/router/index.js b/src/router/index.js index 4742f6a..a392d7e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-15 08:20:28 * @LastEditors: zwq - * @LastEditTime: 2022-07-06 10:38:26 + * @LastEditTime: 2022-07-07 09:48:49 * @Description: */ /** @@ -23,7 +23,8 @@ const _import = require('./import-' + process.env.NODE_ENV) // 全局路由(无需嵌套上左右整体布局) const globalRoutes = [ { path: '/404', component: _import('common/404'), name: '404', meta: { title: '404未找到' } }, - { path: '/login', component: _import('common/login'), name: 'login', meta: { title: '登录' } } + { path: '/login', component: _import('common/login'), name: 'login', meta: { title: '登录' } }, + { path: '/board', component: _import('common/board'), name: 'board', meta: { title: '车间生产看板', isTab: false } } ] // 主入口路由(需嵌套上左右整体布局) @@ -39,7 +40,6 @@ const mainRoutes = { // 2. iframeUrl: 是否通过iframe嵌套展示内容, '以http[s]://开头': 是, '': 否 // 提示: 如需要通过iframe嵌套展示内容, 但不通过tab打开, 请自行创建组件使用iframe处理! { path: '/home', component: _import('common/home'), name: 'home', meta: { title: '首页', isTab: true } }, - { path: '/board', component: _import('common/board'), name: 'board', meta: { title: '车间生产看板', isTab: false } }, { path: '/orderProcess', component: _import('common/order-process'), name: 'orderProcess', meta: { title: '订单加工', isTab: true } }, { path: '/orderAuto', component: _import('common/order-auto'), name: 'orderAuto', meta: { title: '自动任务', isTab: true } }, { path: '/exWarehouse', component: _import('common/ex-warehouse'), name: 'exWarehouse', meta: { title: '货物出库', isTab: true } }, diff --git a/src/views/common/board.vue b/src/views/common/board.vue index d80cbef..cb85623 100644 --- a/src/views/common/board.vue +++ b/src/views/common/board.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2022-03-07 15:31:13 * @LastEditors: zwq - * @LastEditTime: 2022-07-06 16:08:05 + * @LastEditTime: 2022-07-07 10:50:49 * @Description: -->