fix: 暂时移除应用的克隆创建 (#587)

Co-authored-by: Orange <orangemtony@gmail.com>
This commit is contained in:
fit2bot
2021-01-19 17:29:17 +08:00
committed by GitHub
parent 1f4f1d3712
commit f584e96675
3 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ export default {
actions: {
prop: '',
formatterArgs: {
hasClone: true,
hasClone: false,
performDelete: function({ row, col, cellValue, reload }) {
this.$axios.delete(
`/api/v1/applications/applications/${row.id}/`

View File

@@ -29,6 +29,7 @@ export default {
actions: {
prop: '',
formatterArgs: {
hasClone: false,
performDelete: function({ row, col, cellValue, reload }) {
this.$axios.delete(
`/api/v1/applications/applications/${row.id}/`

View File

@@ -34,7 +34,7 @@ export default {
},
actions: {
formatterArgs: {
hasClone: true,
hasClone: false,
onUpdate: ({ row }) => {
vm.$router.push({ name: 'RemoteAppUpdate', params: { id: row.id }, query: { type: row.type }})
},