Commit 6237196c by 胡悦

修改

1 parent 9530f4a6
......@@ -358,7 +358,11 @@ export default {
exportData: {}
}
},
watch: {
filterText(val) {
this.$refs.tree.filter(val);
}
},
mounted() {
dictInfo('trialdrive_vehicle_model').then(res => {
this.vehicleData.find(item => item.prop == 'modelId').options = res.data
......@@ -588,6 +592,7 @@ export default {
this.closeFilter();
},
filterNode(value, data) {
console.log(value, data)
if (!value) return true
return data.label.indexOf(value) !== -1
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!