|
@@ -229,16 +229,16 @@ class PushContainer extends Component {
|
|
|
} else if (this.state.type == 4) { //模板引入
|
|
|
const { items } = this.props;
|
|
|
store.dispatch(setPageView(this.state.id))
|
|
|
- items && items.map((part) => {
|
|
|
- if (this.state.id == part.id) {
|
|
|
- let typeConfig = part.type;
|
|
|
- // store.dispatch(keepPushData(part, 'part'))//引用数据的存储,用于保存模板是判断数据是否变化
|
|
|
- // pushAllDataList(typeConfig, 'push', part, 'template')//引用
|
|
|
- if (didPushParamChange()) {
|
|
|
- store.dispatch(billing())
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
+ // items && items.map((part) => {
|
|
|
+ // if (this.state.id == part.id) {
|
|
|
+ // let typeConfig = part.type;
|
|
|
+ // // store.dispatch(keepPushData(part, 'part'))//引用数据的存储,用于保存模板是判断数据是否变化
|
|
|
+ // // pushAllDataList(typeConfig, 'push', part, 'template')//引用
|
|
|
+ // // if (didPushParamChange()) {
|
|
|
+ // // store.dispatch(billing())
|
|
|
+ // // }
|
|
|
+ // }
|
|
|
+ // })
|
|
|
store.dispatch(changeVisible(false))
|
|
|
}
|
|
|
}
|