소스 검색

合并报错修改

zhouna 5 년 전
부모
커밋
4871630072
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/actions/otherHistory.js

+ 1 - 1
src/store/actions/otherHistory.js

@@ -500,7 +500,7 @@ export function removeId(state,action){
   const {index,flag} = action;
   const data = res.data;
   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);
       res.saveText.splice(index,1);
     }