Commit 267d3abf by 张杰

v1.5.0

1 parent 1efe5da9
......@@ -189,6 +189,13 @@ export default {
let checkKeys = e.checkedKeys || [];
let idx = checkKeys.findIndex((k) => k == data.id);
let checked = idx >= 0 ? true : false;
// 直接勾选车辆
if(data.leaf){
_this.setList(data, [data], checked);
return false;
}
// 如果是用户
if (data.origin.type == "u") {
GET_USER_VEHICLE_LIST({ uIds: data.id }).then((res) => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!