提交 6f543383 authored 作者: lihuihui's avatar lihuihui

修改支付

上级 26f10a23
......@@ -60,7 +60,7 @@ export default {
api.getOrder(id).then(response => {
const code = parseInt(response.data.status)
setTimeout(() => {
if (code !== -1 || code !== 0) {
if (code === 1) {
this.$router.go(0)
clearInterval(this.clearTime)
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论