修复跳转到历史记录传承null字符串引起的跳转失败问题
This commit is contained in:
@@ -1356,9 +1356,8 @@
|
||||
console.log(res)
|
||||
if (res.code == 0) {
|
||||
this.isCollect = res.data.collect ? true : false;
|
||||
if (res.data && res.data.courseDetailsId && !this.courseDetailsId && !courseDetailsId) {
|
||||
courseDetailsId = res.data.courseDetailsId
|
||||
}
|
||||
courseDetailsId=(courseDetailsId&&courseDetailsId!=='null')?courseDetailsId: res.data.current.courseDetailsId
|
||||
|
||||
this.courseDetailsId = courseDetailsId
|
||||
if (res.data.list) {
|
||||
this.info = res.data;
|
||||
|
||||
Reference in New Issue
Block a user