Commit 5c0ec0c5 by jack

修复bug

1 parent e766d971
......@@ -111,6 +111,7 @@ const routes = [
component: () => import('../views/reportManage/mileageDetail.vue'),
meta: {
title: '里程详情',
pushState: true,
keepAlive: true
}
},
......
......@@ -161,10 +161,10 @@ export default {
// 查看详情
lookDetail(row) {
console.log(row);
// let query = {vin: row.vin}
// let path = '/oEshield#/reportManage/mileageDetail';
// history.pushState(query, path, path);
this.$router.push({ name: "mileageDetail", query: { vin: row.vin } });
let query = {vin: row.vin}
let path = '/trialRun#/reportManage/mileageDetail?vin=' + row.vin;
history.pushState(query, path, path);
//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!