apeng 4 年 前
コミット
d9f730ba4e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      pages/frontend/learn/detail/_id.vue

+ 1 - 1
pages/frontend/learn/detail/_id.vue

@@ -409,7 +409,7 @@ export default {
       this.isWeixinApp = navigator.userAgent.indexOf("miniProgram") > -1
     },
     methods: {
-      showPaySuccess () {
+      async showPaySuccess () {
         let res = await this.$axios.$post('/sapi/learn/info', { sale_id: this.sale_id || '999' })
         let learnDetail = {}
         if (Number(res.status) === 1) {