Commit 5c0ec0c5 by jack

修复bug

1 parent e766d971
...@@ -111,6 +111,7 @@ const routes = [ ...@@ -111,6 +111,7 @@ const routes = [
component: () => import('../views/reportManage/mileageDetail.vue'), component: () => import('../views/reportManage/mileageDetail.vue'),
meta: { meta: {
title: '里程详情', title: '里程详情',
pushState: true,
keepAlive: true keepAlive: true
} }
}, },
......
...@@ -161,10 +161,10 @@ export default { ...@@ -161,10 +161,10 @@ export default {
// 查看详情 // 查看详情
lookDetail(row) { lookDetail(row) {
console.log(row); console.log(row);
// let query = {vin: row.vin} let query = {vin: row.vin}
// let path = '/oEshield#/reportManage/mileageDetail'; let path = '/trialRun#/reportManage/mileageDetail?vin=' + row.vin;
// history.pushState(query, path, path); history.pushState(query, path, path);
this.$router.push({ name: "mileageDetail", query: { vin: row.vin } }); //this.$router.push({ name: "mileageDetail", query: { vin: row.vin } });
}, },
// 监听树 // 监听树
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!