mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-31 14:38:02 +00:00
fix: 修复平台更新字段格式
This commit is contained in:
@@ -55,6 +55,7 @@ export default {
|
||||
const query = this.$route.query || {}
|
||||
const automation = values['automation'] || {}
|
||||
const category_type = values['category_type']
|
||||
automation.ansible_config = JSON.parse(automation.ansible_config)
|
||||
|
||||
if (query.hasOwnProperty('clone_from') && automation.hasOwnProperty('id')) {
|
||||
delete automation['id']
|
||||
|
Reference in New Issue
Block a user