fix:删除无用代码

This commit is contained in:
zyh
2022-11-28 16:40:56 +08:00
parent 2fa20c21da
commit 78cac8c1ad
2 changed files with 1 additions and 10 deletions

View File

@@ -599,14 +599,6 @@ export default {
this.variablesArr.forEach((variables) => {
const repeatVariable = this.$loadsh.get(item.param.repeat, 'variable')
if (item.type === 'group' && variables.name === repeatVariable) {
if (!variables.checked.length) {
item.children.forEach(children => {
this.$delete(children, 'repeatIndex')
this.$delete(children, 'repeatVariable')
this.$delete(children, 'repeatValue')
})
return
}
variables.checked.forEach((subItem, subIndex) => {
if (subIndex > 0) {
// 复制数据 重新设置id

View File

@@ -601,7 +601,6 @@ export default {
},
exportCur () {
const params = JSON.parse(JSON.stringify(this.params))
console.log(params)
if (this.params2) {
Object.keys(this.params2).forEach(key => {
if (params[key]) {