|
@@ -56,13 +56,17 @@ export default {
|
|
|
if (e.userId) {
|
|
|
this.form.userId = e.userId
|
|
|
this.form.channelId = e.channelId
|
|
|
+ this.form.categoryId = e.categoryId
|
|
|
// 频道详情
|
|
|
channelDetail({
|
|
|
channelId: e.channelId,
|
|
|
+ categoryId: e.categoryId,
|
|
|
userId: e.userId
|
|
|
}).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
this.data = res.data
|
|
|
+ // 返回给APP的
|
|
|
+ this.data.categoryId = this.data.categoryId ?? e.categoryId
|
|
|
}
|
|
|
})
|
|
|
this.getList()
|
|
@@ -93,7 +97,7 @@ export default {
|
|
|
// },
|
|
|
// 打开app
|
|
|
open() {
|
|
|
- this.openApp(`?page=/mobile/channelSinglePage&channel=${this.data.channelId}&channelId=${this.data.id}`)
|
|
|
+ this.openApp(`?page=/mobile/channelSinglePage&channel=${this.data.channelId}&channelId=${this.data.id}&categoryId=${this.data.categoryId}`)
|
|
|
}
|
|
|
}
|
|
|
}
|