Commit 8b3e253a by jack

修复bug

1 parent 4624618e
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
type: "input", type: "input",
inputType: "text", inputType: "text",
prop: "searchKey", prop: "searchKey",
placeholder: "特约店编码|店名称|车架号|设备号|车型", placeholder: "特约店编码|店名称|车架号|设备号|车系",
}, },
], ],
vehicleTableParams: { vehicleTableParams: {
...@@ -803,13 +803,13 @@ export default { ...@@ -803,13 +803,13 @@ export default {
// 车系 // 车系
if (n) { if (n) {
m = n.childs.find((j) => j.id == data.subBrandId); m = (n.childs||[]).find((j) => j.id == data.subBrandId);
} }
console.log(m); console.log(m);
if (m) { if (m) {
km = m.childs.find((j) => j.id == data.seriesId); km = (m.childs||[]).find((j) => j.id == data.seriesId);
} }
let _series = { let _series = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!