|
@@ -134,14 +134,25 @@ export default {
|
|
|
},
|
|
|
handleLink(){
|
|
|
let url = this.LoginNavIndex +'&&&1&&&2&&&3&&&' + this.previousPage
|
|
|
- this.$router.push({
|
|
|
- path: "/bookPeruseItem",
|
|
|
- query: {
|
|
|
- headerConfig: encodeURIComponent(url),
|
|
|
- cardType: 'jingdu',
|
|
|
- id: this.item.id
|
|
|
- },
|
|
|
- });
|
|
|
+ if(!this.$route.query.from){
|
|
|
+ this.$router.push({
|
|
|
+ path: "/bookPeruseItem",
|
|
|
+ query: {
|
|
|
+ headerConfig: encodeURIComponent(url),
|
|
|
+ cardType: 'jingdu',
|
|
|
+ id: this.item.id
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ this.$router.push({
|
|
|
+ path: "/articlePeruseDetail",
|
|
|
+ query: {
|
|
|
+ headerConfig: encodeURIComponent(url),
|
|
|
+ peruseId: this.item.id
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|