Commit 34642a5e by wangshuo

单集

parent 7732dfc0
......@@ -173,7 +173,9 @@ class Single extends Component {
// 支付完成之后获取状态
payCallback = () => {
const _this = this;
if(getParam('oid')) {
if(!getParam('oid')) {
return;
}else{
_this.intervalPayStatus = setInterval(function () {
http.get(`${API['base-api']}/m/orderState/oid/${getParam('oid')}`).then(res => {
if (res.data.errno === 401) {
......
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