修改bug
This commit is contained in:
@@ -654,6 +654,7 @@
|
||||
},
|
||||
//保存
|
||||
splitSave(){
|
||||
console.log('vallll',this.contentList)
|
||||
// console.log('formInline',this.formInline)
|
||||
this.$refs.splitEditForm.validate(valid=>{
|
||||
if(valid){
|
||||
@@ -773,12 +774,12 @@
|
||||
for(let i = this.contentList.length;i>this.addIndex;i--){
|
||||
this.contentList[i+lengthImg-1]=this.contentList[i-1]
|
||||
}
|
||||
if(imgs && imgs.length > 0){
|
||||
imgs.forEach(item => {
|
||||
if(data && data.length > 0){
|
||||
data.forEach(item => {
|
||||
this.contentList[++this.addIndex]={
|
||||
id:'',
|
||||
type:'IMG',
|
||||
itemContent:item.url
|
||||
itemContent:item.id
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -810,6 +811,7 @@
|
||||
type:'TABLE',
|
||||
itemContent:val
|
||||
}
|
||||
|
||||
},
|
||||
//取消行数列数按钮
|
||||
handleColCancel(){
|
||||
|
||||
Reference in New Issue
Block a user