新增DropdownTable组件

This commit is contained in:
aoshiguchen
2022-09-01 22:59:52 +08:00
parent de96b8937a
commit 4bc04f431d
2 changed files with 7 additions and 1 deletions
@@ -66,9 +66,15 @@
timer: null
}
},
watch: {
name(val) {
console.log(val, this.name)
}
},
methods: {
handleRowClick(val) {
this.$emit('selectedData', val)
this.name = val.name
this.timer = setTimeout(() => {
this.popVisible = false
}, 200)
@@ -81,7 +81,7 @@
<el-form-item :label="$t('License')" prop="licenseId">
<DropdownTable
v-model="temp.licenseId"
:name.sync="temp.licenseName"
:name="temp.licenseName"
:tableData= "licenseList"
@selectedData="selectedFeeItem"
placeholder="请选择"