# vue树形select下拉 **Repository Path**: isyhj/vue-tree-select-drop-down ## Basic Information - **Project Name**: vue树形select下拉 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-31 - **Last Updated**: 2021-07-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue树形select下拉 树形数据的下拉选择框
var app = new Vue({ el: '#app', props: { }, data: function() { return { list: [], config: { // 显示字段 labelName: 'label', // 绑定值 valueName: 'value', // 树列表 children: 'children', placeholder: '请选择', // key绑定字段 key: 'value', // 默认显示字段 label: '', // 默认显示值 value: '', // 类型 tree img default type: 'tree', // 是否可清空 clearable: false, // 是否可搜索 search: true, // 点击样式 clickNumbel: null } } }, created: function() {}, mounted: function() { }, computed: {}, watch: { }, methods: { } })