新增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)
|
||||
|
||||
@@ -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="请选择"
|
||||
|
||||
Reference in New Issue
Block a user