mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-08 02:03:44 +00:00
fix: 修复命令存储更新问题
This commit is contained in:
parent
6cb6e6444b
commit
628395e447
@ -58,10 +58,12 @@ export default {
|
|||||||
label: this.$t('sessions.bucket')
|
label: this.$t('sessions.bucket')
|
||||||
},
|
},
|
||||||
access_key: {
|
access_key: {
|
||||||
label: 'Access key'
|
label: 'Access key',
|
||||||
|
el: { 'show-password': true }
|
||||||
},
|
},
|
||||||
secret_key: {
|
secret_key: {
|
||||||
label: 'Secret key'
|
label: 'Secret key',
|
||||||
|
el: { 'show-password': true }
|
||||||
},
|
},
|
||||||
endpoint: {
|
endpoint: {
|
||||||
label: this.$t('sessions.endPoint'),
|
label: this.$t('sessions.endPoint'),
|
||||||
@ -127,6 +129,7 @@ export default {
|
|||||||
this.formData = this.convertMataToForm(this.replayData)
|
this.formData = this.convertMataToForm(this.replayData)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
|
return
|
||||||
}
|
}
|
||||||
if (query.type) {
|
if (query.type) {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
@ -79,7 +79,7 @@ export default {
|
|||||||
prop: 'id',
|
prop: 'id',
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
onUpdate: function({ row, col }) {
|
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) {
|
canUpdate: function(row, cellValue) {
|
||||||
return (row.name !== 'default' && row.name !== 'null')
|
return (row.name !== 'default' && row.name !== 'null')
|
||||||
|
Loading…
Reference in New Issue
Block a user