From 99edb297650c16a1fb8d7fdd8c6211caba487748 Mon Sep 17 00:00:00 2001
From: aoshiguchen <1052045476@qq.com>
Date: Thu, 1 Sep 2022 23:06:05 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EDropdownTable=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/Dropdown/DropdownTable.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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)