|
@@ -204,20 +204,6 @@ export const changeNumLabelVal = (state,action)=>{
|
|
|
return res;
|
|
|
}
|
|
|
|
|
|
-// 数字键盘较特殊,有直接输入
|
|
|
-export const changeNumLabelVal = (state,action)=>{
|
|
|
- const res = Object.assign({},state);
|
|
|
- const index = action.data.ikey;
|
|
|
- const newVal = action.data.changeVal;
|
|
|
- let item = res.data[index];
|
|
|
- if(item){
|
|
|
- item.value = newVal;
|
|
|
- }
|
|
|
- res.saveText[index] = newVal;
|
|
|
- res.update = Math.random();
|
|
|
- return res;
|
|
|
-}
|
|
|
-
|
|
|
export function clearCheckBody(state,action){ //清空
|
|
|
let res = Object.assign({},state);
|
|
|
res.data = action.data;
|