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: '成功',