mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 22:36:23 +00:00
perf: update platform automation update
This commit is contained in:
@@ -67,7 +67,7 @@ export default {
|
|||||||
if (!this.canSubmit || !this.isSystemAdmin) {
|
if (!this.canSubmit || !this.isSystemAdmin) {
|
||||||
return this.$message.error(this.$tc('NoPermission'))
|
return this.$message.error(this.$tc('NoPermission'))
|
||||||
}
|
}
|
||||||
this.$axios.patch(`${this.url}`, validValues).then(() => {
|
this.$axios.patch(`${this.url}${this.object.id}/`, validValues).then(() => {
|
||||||
this.$message.success(this.$tc('UpdateSuccessMsg'))
|
this.$message.success(this.$tc('UpdateSuccessMsg'))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user