|
@@ -17,6 +17,8 @@ import {RECOVER_TAG_CURRENT} from '@store/types/currentIll';
|
|
|
import {RECOVER_TAG_OTHER} from '@store/types/otherHistory';
|
|
|
import {RECOVER_TAG_CHECK} from '@store/types/checkBody';
|
|
|
import {Notify} from '@commonComp';
|
|
|
+import {didPushParamChange} from '@utils/tools.js';
|
|
|
+import {billing} from '@store/async-actions/pushMessage';
|
|
|
|
|
|
// function mapStateToProps({print}) {
|
|
|
function mapStateToProps(state) {
|
|
@@ -90,6 +92,13 @@ function mapDispatchToProps(dispatch) {
|
|
|
data:deledTags[0],
|
|
|
index:arr[1]
|
|
|
});
|
|
|
+ //右侧推送
|
|
|
+ setTimeout(function(){ //延迟待确定后的数据更新后推送,避免获取的参数还是旧的
|
|
|
+ if(didPushParamChange()){ //操作后内容有变化才推送
|
|
|
+ dispatch(billing());
|
|
|
+ }
|
|
|
+ },200);
|
|
|
+
|
|
|
}
|
|
|
};
|
|
|
}
|