修改报错
This commit is contained in:
parent
21c1ea22b4
commit
2d160cb7fc
|
|
@ -169,9 +169,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -171,9 +171,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -207,9 +207,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -189,9 +189,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -183,9 +183,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -183,9 +183,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -264,9 +264,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
this.lastFormDataJson = JSON.stringify(this.pageOptions.formOptions.data);
|
||||
|
||||
|
|
|
|||
|
|
@ -183,9 +183,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -295,9 +295,11 @@ export default {
|
|||
} else {
|
||||
console.log( this.addModeItems)
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -342,9 +342,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -242,9 +242,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -217,9 +217,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -183,9 +183,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -242,9 +242,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -273,9 +273,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -148,9 +148,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -151,9 +151,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -148,9 +148,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -168,9 +168,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -181,9 +181,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<basic-page-edit :desc="desc" :dataId="getDataId()" :options="pageOptions"></basic-page-edit>
|
||||
<basic-page-edit :dataId="getDataId()" :options="pageOptions"></basic-page-edit>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -199,9 +199,11 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
this.addModeItems.forEach(item => {
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue