Parcourir la source

查体展开标记bug修改2458

zhouna il y a 5 ans
Parent
commit
895ddb8bfd
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/store/actions/checkBody.js

+ 2 - 2
src/store/actions/checkBody.js

@@ -382,8 +382,8 @@ export function setImportCheckbodyLabel(state,action) {
 export function recoveTag(state,action) {
   let res = Object.assign({},state);
   let arr = [...res.data];
-  //const text = Object.assign({showInCheck:action.data.showInCheck},JSON.parse(config._textLabel));
-  arr.splice(action.index,0,action.data);
+  const text = Object.assign({showInCheck:action.data.showInCheck},JSON.parse(config.textLabel));
+  arr.splice(action.index,0,action.data,text);
   res.data = checkFullfillText(arr).newArr;
   res.saveText = checkFullfillText(arr).saveText;
   shiftLocalDelTag();