|
@@ -37,7 +37,6 @@ export const confirm = (state,action) =>{
|
|
|
return res;
|
|
|
}
|
|
|
//有,伴,无随配
|
|
|
- //arr.splice(ikey-1,1);
|
|
|
let flabel = items[items.length-1]; //要插入的最后一个标签
|
|
|
let labelText = flabel.value!==undefined?flabel.value:flabel.name;
|
|
|
let text = labelText;
|
|
@@ -47,8 +46,6 @@ export const confirm = (state,action) =>{
|
|
|
text = flabel.value;
|
|
|
}
|
|
|
arr.splice(ikey,0,...exists,...withs);
|
|
|
- //arr[ikey-1].value = text;
|
|
|
- //res.saveText[ikey+items.length] = text;
|
|
|
res.saveText = fullfillText(arr).saveText;
|
|
|
res.update=Math.random(); //用于触发组件更新(data变化了因在对象中无法被组件检测到)
|
|
|
return res;
|