~~~
<template>
<sohelp-tree-select
namespace="pb_org.query"
:mappingFields="mappingFields"
/>
</template>
<script>
import {sohelpTreeSelect} from 'sohelp-ele';
export default {
// mappingFields实例
data(){
return{
mappingFields:{
parent_id: 'parent_id',
'key': 'id',
'title': 'org_name',
'value': 'id'
},
}
},
components:{
sohelpTreeSelect
}
}
</script>
~~~