mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
fix: 修复数据库应用更新页面异常问题
This commit is contained in:
parent
cb5fe0f2a0
commit
959bb56a3e
@ -42,7 +42,6 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
url: '/api/v1/applications/applications/',
|
||||
getUrl() {
|
||||
const params = this.$route.params
|
||||
let url = `/api/v1/applications/applications/`
|
||||
|
@ -45,6 +45,9 @@ export default {
|
||||
onClone: ({ row }) => {
|
||||
vm.$router.push({ name: 'DatabaseAppCreate', query: { type: row.type, clone_from: row.id }})
|
||||
},
|
||||
onUpdate: ({ row }) => {
|
||||
vm.$router.push({ name: 'DatabaseAppUpdate', params: { id: row.id }, query: { type: row.type }})
|
||||
},
|
||||
performDelete: function({ row, col, cellValue, reload }) {
|
||||
this.$axios.delete(
|
||||
`/api/v1/applications/applications/${row.id}/`
|
||||
|
Loading…
Reference in New Issue
Block a user