Commit 8b3e253a by jack

修复bug

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