Explorar o código

单选和多选编辑失焦时调用推送接口

liucf %!s(int64=6) %!d(string=hai) anos
pai
achega
7e6b5fac0f

+ 1 - 0
src/components/NumberUnitDrop/index.jsx

@@ -76,6 +76,7 @@ class NumberUnitDrop extends Component{
       const text = e.target.innerText;
       // this.$span.current.innerText='';      //修改生成文字变成输入的2倍bug 
       handleSelect&&handleSelect({ikey,text,suffix,prefix,mainSaveText});
+      
     }
     this.setState({
       isClosed:false,

+ 1 - 0
src/containers/RadioDrop.js

@@ -127,6 +127,7 @@ function mapDispatchToProps(dispatch,store){
         type:dbEditActions[+type],
         data:{changeVal:params.changeVal,ikey:ikey}
       });
+      dispatch(billing);
     },
     handleShow(obj) {
       dispatch({

+ 1 - 0
src/containers/SpreadDrop.js

@@ -330,6 +330,7 @@ function handleLabel(dispatch,params){
       break;
     default:
   }
+  dispatch(billing);
 }
 
 function mapDispatchToProps(dispatch,store){