From a3bff49c970e5706d8d567e4f5f5271c135ee955 Mon Sep 17 00:00:00 2001 From: aoshiguchen <1052045476@qq.com> Date: Thu, 1 Sep 2022 17:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- neutrino-proxy-admin/src/views/proxy/license.vue | 6 +++--- neutrino-proxy-admin/src/views/proxy/portMapping.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/neutrino-proxy-admin/src/views/proxy/license.vue b/neutrino-proxy-admin/src/views/proxy/license.vue index 79c83ab1..d6a900e4 100644 --- a/neutrino-proxy-admin/src/views/proxy/license.vue +++ b/neutrino-proxy-admin/src/views/proxy/license.vue @@ -139,8 +139,8 @@ importanceOptions: [1, 2, 3], calendarTypeOptions, userList: [ - {id: 1, name: '管理员'}, - {id: 2, name: '游客'} + { id: 1, name: '管理员' }, + { id: 2, name: '游客' } ], sortOptions: [{ label: 'ID Ascending', key: '+id' }, { label: 'ID Descending', key: '-id' }], statusOptions: ['published', 'draft', 'deleted'], @@ -300,7 +300,7 @@ cancelButtonText: '取消', type: 'warning' }).then(() => { - deleteUser(row.id).then(response => { + deleteLicense(row.id).then(response => { if (response.data.code === 0) { this.$notify({ title: '成功', diff --git a/neutrino-proxy-admin/src/views/proxy/portMapping.vue b/neutrino-proxy-admin/src/views/proxy/portMapping.vue index 758e26d3..6cdb066b 100644 --- a/neutrino-proxy-admin/src/views/proxy/portMapping.vue +++ b/neutrino-proxy-admin/src/views/proxy/portMapping.vue @@ -155,8 +155,8 @@ sortOptions: [{ label: 'ID Ascending', key: '+id' }, { label: 'ID Descending', key: '-id' }], statusOptions: ['published', 'draft', 'deleted'], licenseList: [ - {id: 1, name: '我的Mac'}, - {id: 2, name: '我的台式机'} + { id: 1, name: '我的Mac' }, + { id: 2, name: '我的台式机' } ], serverPortList: [9101, 9102, 9103, 9104], showReviewer: false, @@ -321,7 +321,7 @@ cancelButtonText: '取消', type: 'warning' }).then(() => { - deleteUser(row.id).then(response => { + deletePortMapping(row.id).then(response => { if (response.data.code === 0) { this.$notify({ title: '成功',