mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 20:36:43 +08:00
修改其他问题
This commit is contained in:
@@ -260,6 +260,7 @@ export default {
|
||||
]
|
||||
Promise.all(promises).then(() => {
|
||||
this.nums = this.fistTotals + this.pathTotals + this.growTotal;
|
||||
console.log(this.nums,'this.nums')
|
||||
sessionStorage.setItem('fistTotals',this.fistTotals)
|
||||
sessionStorage.setItem('pathTotals',this.pathTotals)
|
||||
sessionStorage.setItem('growTotal',this.growTotal)
|
||||
@@ -277,14 +278,17 @@ export default {
|
||||
if(this.isTiao){
|
||||
if(this.nums == 0){
|
||||
window.location.href = `${this.webBaseUrl}/uc/study/task?type=9`;
|
||||
return
|
||||
}
|
||||
// window.location.href = `${this.webBaseUrl}/uc/study/task?type=${this.fistTotals || this.growTotal || this.pathTotals}`;
|
||||
if(this.fistTotals != 0){
|
||||
window.location.href = `${this.webBaseUrl}/uc/study/task?type=1`;
|
||||
}else if (this.growTotal != 0){
|
||||
window.location.href = `${this.webBaseUrl}/uc/study/growth`;
|
||||
}else{
|
||||
}else if (this.pathTotals != 0){
|
||||
window.location.href = `${this.webBaseUrl}/uc/study/task?type=2`;
|
||||
}else{
|
||||
window.location.href = `${this.webBaseUrl}/uc/study/task?type=9`;
|
||||
}
|
||||
}else{
|
||||
window.location.href = `${this.webBaseUrl}/uc/study/courses`;
|
||||
|
||||
Reference in New Issue
Block a user