This commit is contained in:
zhaofang
2022-11-22 14:05:17 +08:00
parent e5dec24a94
commit a31deca25c
2 changed files with 6 additions and 1 deletions

View File

@@ -84,11 +84,16 @@
},
watch:{
data(newVal,oldVal){
console.log(newVal,'newVal')
if(newVal && newVal.id!=''){
this.checkHas();
}
}
},
mounted() {
this.checkHas();
// this.loadUser();
},
computed:{
...mapGetters(['userInfo']),
},