Commit 415e45e3 by wangshuo

单集购买

parent 0f4a912a
......@@ -222,7 +222,7 @@ class Detail extends Component {
//
// }
payCallBack = (singleType, nowPrice, laterPrice) => {
Toast.info(singleType, 2);
// Toast.info(singleType, 2);
const _this = this;
if(singleType === 2) {
_this.setState({
......
......@@ -27,14 +27,14 @@ class Single extends Component {
}
componentDidMount() {
if (getParam('is_class') === 1 || getParam('weixinpay')) {
console.log(0);
this.payCallback()
// this.props.payCallback();
}
if (browser.isWeixin) {
this.isweixinPay()
}
// if (getParam('is_class') === 1 || getParam('weixinpay')) {
// console.log(0);
// this.payCallback()
// // this.props.payCallback();
// }
// if (browser.isWeixin) {
// this.isweixinPay()
// }
}
componentWillReceiveProps(nextProps, nextContext) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment