mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: Adhoc template clone variable lose
This commit is contained in:
@@ -37,7 +37,7 @@ export default {
|
||||
name: 'Template'
|
||||
},
|
||||
cleanFormValue(value) {
|
||||
const isClone = this?.$route?.query.clone_from !== undefined
|
||||
const isClone = this?.action === 'clone'
|
||||
if (isClone) {
|
||||
value?.variable.map((item) => {
|
||||
delete item.id
|
||||
|
||||
Reference in New Issue
Block a user