'use strict'; const { Component } = require('inferno'); const { cacheComponent } = require('../util/cache'); class Alipay extends Component { render() { const { title, qrcode, url_for } = this.props; if (!qrcode) { return
You forgot to set the qrcode for Alipay. Please set it in _config.yml.
; } return {title} {title} ; } } module.exports = cacheComponent(Alipay, 'donate.alipay', props => { const { donate, helper } = props; return { qrcode: donate.qrcode, title: helper.__('donate.' + donate.type), url_for: helper.url_for }; });