mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 07:01:26 +00:00
fix: 修复命令存储更新问题
This commit is contained in:
parent
6cb6e6444b
commit
628395e447
@ -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
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user