fix:删除无用代码
This commit is contained in:
@@ -599,14 +599,6 @@ export default {
|
|||||||
this.variablesArr.forEach((variables) => {
|
this.variablesArr.forEach((variables) => {
|
||||||
const repeatVariable = this.$loadsh.get(item.param.repeat, 'variable')
|
const repeatVariable = this.$loadsh.get(item.param.repeat, 'variable')
|
||||||
if (item.type === 'group' && variables.name === repeatVariable) {
|
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) => {
|
variables.checked.forEach((subItem, subIndex) => {
|
||||||
if (subIndex > 0) {
|
if (subIndex > 0) {
|
||||||
// 复制数据 重新设置id
|
// 复制数据 重新设置id
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.name"
|
:label="item.name"
|
||||||
:value="item.value">
|
:value="item.value">
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<ul class="import-select-list">
|
<ul class="import-select-list">
|
||||||
@@ -601,7 +601,6 @@ export default {
|
|||||||
},
|
},
|
||||||
exportCur () {
|
exportCur () {
|
||||||
const params = JSON.parse(JSON.stringify(this.params))
|
const params = JSON.parse(JSON.stringify(this.params))
|
||||||
console.log(params)
|
|
||||||
if (this.params2) {
|
if (this.params2) {
|
||||||
Object.keys(this.params2).forEach(key => {
|
Object.keys(this.params2).forEach(key => {
|
||||||
if (params[key]) {
|
if (params[key]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user