Explorar o código

查体展开标记bug修改2458

zhouna %!s(int64=5) %!d(string=hai) anos
pai
achega
895ddb8bfd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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();