新增DropdownTable组件
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user