From 628395e447e1ce82c20b7ef8cfe57ee4914cd738 Mon Sep 17 00:00:00 2001 From: Orange Date: Thu, 24 Sep 2020 15:50:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E6=9B=B4=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sessions/ReplayStorageCreateUpdate.vue | 7 +++++-- src/views/sessions/Storage/ReplayStorage.vue | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/sessions/ReplayStorageCreateUpdate.vue b/src/views/sessions/ReplayStorageCreateUpdate.vue index 878961a52..69ebc6266 100644 --- a/src/views/sessions/ReplayStorageCreateUpdate.vue +++ b/src/views/sessions/ReplayStorageCreateUpdate.vue @@ -58,10 +58,12 @@ export default { label: this.$t('sessions.bucket') }, access_key: { - label: 'Access key' + label: 'Access key', + el: { 'show-password': true } }, secret_key: { - label: 'Secret key' + label: 'Secret key', + el: { 'show-password': true } }, endpoint: { label: this.$t('sessions.endPoint'), @@ -127,6 +129,7 @@ export default { this.formData = this.convertMataToForm(this.replayData) this.loading = false }) + return } if (query.type) { this.loading = false diff --git a/src/views/sessions/Storage/ReplayStorage.vue b/src/views/sessions/Storage/ReplayStorage.vue index 2c3a2ba8e..8198f6566 100644 --- a/src/views/sessions/Storage/ReplayStorage.vue +++ b/src/views/sessions/Storage/ReplayStorage.vue @@ -79,7 +79,7 @@ export default { prop: 'id', formatterArgs: { onUpdate: function({ row, col }) { - this.$router.push({ name: 'ReplayStorageUpdate', params: { id: row.id }}) + this.$router.push({ name: 'ReplayStorageUpdate', params: { id: row.id }, query: { type: row.type }}) }, canUpdate: function(row, cellValue) { return (row.name !== 'default' && row.name !== 'null')