提交 11e12c72 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 fd45d63f
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
}, },
toCourse(data) { toCourse(data) {
if (this.isWeapp) { if (this.isWeapp) {
const url = `/pages/web/index?src=${window.location.origin}/course/learn` const url = `/pages/web/index?src=${window.location.origin}/payPage`
wx.miniProgram.navigateTo({ url }) wx.miniProgram.navigateTo({ url })
} else { } else {
this.$router.push({ name: 'courseLearn' }) this.$router.push({ name: 'courseLearn' })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论