Browse Source

查体展开标记bug修改2458

zhouna 5 năm trước cách đây
mục cha
commit
557a532ca7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/utils/utils.js

+ 2 - 2
src/utils/utils.js

@@ -141,8 +141,8 @@ export function recoveTag(state,action) {
   let res = Object.assign({},state);
   let arr = [...res.data];
   const boxMark = action.data.delIndex.substr(0,1);
-  //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);
   const dataArr = boxMark==='4'?checkFullfillText(arr):fullfillText(arr);
   res.data = dataArr.newArr;
   res.saveText = dataArr.saveText;