|
@@ -2040,15 +2040,16 @@ export default {
|
|
window.removeEventListener("resize", this.checkScreenSize);
|
|
window.removeEventListener("resize", this.checkScreenSize);
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- if(this.peopleId){
|
|
|
|
- this.getUserInfo();
|
|
|
|
- }
|
|
|
|
this.checkScreenSize();
|
|
this.checkScreenSize();
|
|
window.addEventListener("resize", this.checkScreenSize);
|
|
window.addEventListener("resize", this.checkScreenSize);
|
|
document.getElementsByTagName('html')[0].scrollTop = 0
|
|
document.getElementsByTagName('html')[0].scrollTop = 0
|
|
document.getElementsByTagName('html')[0].style.overflow = 'hidden'
|
|
document.getElementsByTagName('html')[0].style.overflow = 'hidden'
|
|
this.$nextTick(function () {
|
|
this.$nextTick(function () {
|
|
- this.getData();
|
|
|
|
|
|
+ if(this.peopleId){
|
|
|
|
+ this.getUserInfo();
|
|
|
|
+ }else{
|
|
|
|
+ this.getData();
|
|
|
|
+ }
|
|
// this.getClass2()
|
|
// this.getClass2()
|
|
this.changeHeight()
|
|
this.changeHeight()
|
|
});
|
|
});
|