diff --git a/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue b/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue index 5e5904b0..bacd260a 100644 --- a/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue +++ b/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue @@ -10,7 +10,7 @@ @rowClick="handleRowClick" > - + @@ -63,17 +63,17 @@ } ], popVisible: false, - timer: null + timer: null, + inputValue: '' } }, - watch: { - name(val) { - console.log(val, this.name) - } + created() { + this.inputValue = this.name }, methods: { handleRowClick(val) { this.$emit('selectedData', val) + this.inputValue = val.name this.timer = setTimeout(() => { this.popVisible = false }, 200)