新增DropdownTable组件

This commit is contained in:
aoshiguchen
2022-09-01 22:43:30 +08:00
parent 3dd258890f
commit 376ebfa86a
2 changed files with 3 additions and 7 deletions
@@ -22,10 +22,6 @@
type: String,
default: ''
},
index: {
type: Number,
default: () => 0
},
placeholder: {
type: String,
default: '请选择'
@@ -84,8 +80,8 @@
}
},
methods: {
handleRowClick(val) {
this.$emit('selectedData', { list: val, index: this.index })
handleRowClick(val, column) {
this.$emit('selectedData', { list: val, index: column })
this.timer = setTimeout(() => {
this.popVisible = false
}, 200)
@@ -84,7 +84,7 @@
:name.sync="temp.licenseId"
:tableData= "licenseList"
@selectedData="selectedFeeItem"
placeholder="选择费用项"
placeholder="选择"
/>
</el-form-item>