|
@@ -482,7 +482,7 @@ export function backspaceText(state,action){
|
|
|
if(data[delIndex+1] &&data[delIndex+1].formulaCode){
|
|
|
res[data[delIndex+1].formulaCode]=undefined;
|
|
|
}
|
|
|
- handleLocalDelTag(3,delIndex,data[delIndex]);
|
|
|
+ handleLocalDelTag(3,delIndex,data[delIndex+1]);
|
|
|
data.splice(delIndex,2);
|
|
|
res.selecteds.splice(delIndex,2);
|
|
|
res.saveText.splice(delIndex,2);
|
|
@@ -560,8 +560,8 @@ export function delSingleLable(state,action){
|
|
|
export function recoveTag(state,action) {
|
|
|
let res = Object.assign({},state);
|
|
|
let arr = [...res.data];
|
|
|
- const text = Object.assign({},JSON.parse(config.textLabel));
|
|
|
- arr.splice(action.index,0,action.data,text);
|
|
|
+ //const text = Object.assign({},JSON.parse(config.textLabel));
|
|
|
+ arr.splice(action.index,0,action.data);
|
|
|
res.data = fullfillText(arr).newArr;
|
|
|
res.saveText = fullfillText(arr).saveText;
|
|
|
shiftLocalDelTag();
|