|
|
@@ -640,9 +640,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.source = this.$route.query.source || '';
|
|
|
- this.sourceType = this.$route.query.sourceType || '';
|
|
|
- this.powerGrade = localStorage.getItem('powerGrade');
|
|
|
this.getDetailById();
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -658,6 +655,9 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
activated() {
|
|
|
+ this.source = this.$route.query.source || '';
|
|
|
+ this.sourceType = this.$route.query.sourceType || '';
|
|
|
+ this.powerGrade = localStorage.getItem('powerGrade');
|
|
|
this.setDailyDetailsBoxFlag = true;
|
|
|
this.shareImgFlag = false;
|
|
|
this.num = 0;
|