mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-26 13:08:08 +00:00
fix: 修复平台详情跳转到更新页面路由不准确问题
This commit is contained in:
@@ -36,12 +36,10 @@ export default {
|
||||
return !this.TaskDetail.internal && this.$hasPerm('assets.delete_platform')
|
||||
},
|
||||
updateCallback: () => {
|
||||
const { type, category } = this.TaskDetail
|
||||
const { id, type, category } = this.TaskDetail
|
||||
this.$router.push({
|
||||
name: 'PlatformCreate',
|
||||
params: {
|
||||
id: this.$route.params.id
|
||||
},
|
||||
name: 'PlatformUpdate',
|
||||
params: { id },
|
||||
query: {
|
||||
type: type.value,
|
||||
category: category.value
|
||||
|
||||
Reference in New Issue
Block a user