From 21ad1ed4410d0451d24a90d44c68e4130deec4eb Mon Sep 17 00:00:00 2001
From: aoshiguchen <1052045476@qq.com>
Date: Fri, 2 Sep 2022 21:35:36 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0DropdownTable=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 | 10 +++-------
neutrino-proxy-admin/src/views/proxy/portMapping.vue | 2 +-
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue b/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue
index ca670ba1..6f46f726 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"
>
-
+
@@ -53,17 +53,13 @@
}
],
popVisible: false,
- timer: null,
- inputValue: ''
+ timer: null
}
},
- created() {
- this.inputValue = this.name
- },
methods: {
handleRowClick(val) {
this.$emit('selectedData', val)
- this.inputValue = val.name
+ this.$emit('update:name', val.name)
this.timer = setTimeout(() => {
this.popVisible = false
}, 200)
diff --git a/neutrino-proxy-admin/src/views/proxy/portMapping.vue b/neutrino-proxy-admin/src/views/proxy/portMapping.vue
index acd1e676..a307f8b9 100644
--- a/neutrino-proxy-admin/src/views/proxy/portMapping.vue
+++ b/neutrino-proxy-admin/src/views/proxy/portMapping.vue
@@ -81,7 +81,7 @@