fix:删除无用代码
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
:key="item.value"
|
||||
:label="item.name"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
<ul class="import-select-list">
|
||||
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user