zhouna 6 年之前
父節點
當前提交
986a3cf597
共有 2 個文件被更改,包括 0 次插入29 次删除
  1. 0 14
      src/store/actions/checkBody.js
  2. 0 15
      src/store/actions/mainSuit.js

+ 0 - 14
src/store/actions/checkBody.js

@@ -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;

+ 0 - 15
src/store/actions/mainSuit.js

@@ -401,21 +401,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 const saveFreeVal = (state,action)=>{
   const res = Object.assign({},state);