a-tree-select组件的change修改事件名

This commit is contained in:
yaoyanan
2021-04-07 11:33:05 +08:00
parent ca12ba8129
commit 5172a7997e
2 changed files with 30 additions and 21 deletions
+1 -4
View File
@@ -277,7 +277,7 @@
<a-row :gutter="24">
<a-col :span="12">
<a-form-item label="分类字典树">
<j-category-select v-model="formData.selectCategory" pcode="A01" :multiple="true" @change="changeCate"/>
<j-category-select v-model="formData.selectCategory" pCode="A01" :multiple="false"/>
</a-form-item>
</a-col>
<a-col :span="12">选中的值(v-model){{ formData.selectCategory }}</a-col>
@@ -589,9 +589,6 @@ sayHi('hello, world!')`
}
},
methods: {
changeCate(){
console.log("ok")
},
getDepartIdValue() {
return this.form.getFieldValue('departId')
},