下拉框分两种筛选:同步和异步

This commit is contained in:
yaoyanan
2021-03-23 15:39:55 +08:00
parent 679aa8399c
commit 5f7eeec0f6
3 changed files with 115 additions and 92 deletions
+2 -3
View File
@@ -250,6 +250,7 @@
dict="sys_permission,name,id"
pidField="parent_id"
pidValue=""
:isAsync="true"
/>
</a-form-item>
</a-col>
@@ -266,12 +267,12 @@
pidField="parent_id"
pidValue=""
multiple
:isAsync="false"
/>
</a-form-item>
</a-col>
<a-col :span="12">选中的值(v-model){{ formData.treeSelectMultiple }}</a-col>
</a-row>
<!-- 分类字典树 -->
<a-row :gutter="24">
<a-col :span="12">
@@ -585,8 +586,6 @@ sayHi('hello, world!')`
}
},
methods: {
handleChange() {
},
getDepartIdValue() {
return this.form.getFieldValue('departId')
},