fix: 修复平台更新字段格式

This commit is contained in:
“huailei000”
2023-01-17 10:48:40 +08:00
committed by huailei
parent f13031d120
commit 17efdb8096

View File

@@ -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']