|
@@ -500,7 +500,7 @@ export function removeId(state,action){
|
|
const {index,flag} = action;
|
|
const {index,flag} = action;
|
|
const data = res.data;
|
|
const data = res.data;
|
|
if(flag == 'del'){//delete
|
|
if(flag == 'del'){//delete
|
|
- if(!data[index].value && data[inde+1] && data[inde+1].tagType==8){
|
|
|
|
|
|
+ if(!data[index].value && data[index+1] && data[index+1].tagType==8){
|
|
data.splice(index,1);
|
|
data.splice(index,1);
|
|
res.saveText.splice(index,1);
|
|
res.saveText.splice(index,1);
|
|
}
|
|
}
|