|
@@ -65,11 +65,11 @@ export default {
|
|
|
return this.newsCache[type] || []
|
|
|
},
|
|
|
async handleMore() {
|
|
|
- await this.loginCheck()
|
|
|
+ if (this.loginCheck) await this.loginCheck()
|
|
|
this.transferTo(this.morePath)
|
|
|
},
|
|
|
async goNewsWithType(type) {
|
|
|
- await this.loginCheck()
|
|
|
+ if (this.loginCheck) await this.loginCheck()
|
|
|
this.transferTo(this.morePath, { type })
|
|
|
}
|
|
|
}
|