From 2c3e23b20aecef69559567db0880fbdaaf477faa Mon Sep 17 00:00:00 2001 From: gtz <535262213@qq.com> Date: Thu, 15 Dec 2022 17:06:31 +0800 Subject: [PATCH] 'update_url --- src/views/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 764b4e2..88c6151 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -50,9 +50,9 @@ export default { rowNum: 1, windowWidth: 0, routeList: [ - { name: 'factory', path: 'http://zs.mes.picaiba.com/#/3d-overview', title: '数字工厂总览' }, - { name: 'mes', path: 'http://zs.mes.picaiba.com/#/login', title: 'MES生产管理平台' }, - { name: 'wms', path: 'http://zs.wms.picaiba.com/#/login', title: 'WMS物流仓储管理' }, + { name: 'factory', path: 'http://mes.cnbmai.picaiba.com/#/3d-overview', title: '数字工厂总览' }, + { name: 'mes', path: 'http://mes.cnbmai.picaiba.com/#/login', title: 'MES生产管理平台' }, + { name: 'wms', path: 'http://wms.cnbmai.picaiba.com/#/login', title: 'WMS物流仓储管理' }, { name: 'data', path: 'factory', title: '数据采集平台' } ], date: '', @@ -90,7 +90,7 @@ export default { }, handelClick(item) { if (item.path.substring(0, 4) === 'http') { - if (item.path === 'http://zs.mes.picaiba.com/#/3d-overview') { + if (item.path === 'http://mes.cnbmai.picaiba.com/#/3d-overview') { window.open(item.path) } else { window.open(`${item.path}?username=${Cookie.get('account')}&password=${Cookie.get('password')}`)