【银保app】原生方法,获取首页高度

This commit is contained in:
li.yuetong
2022-11-07 13:50:10 +08:00
parent 6f6575b901
commit acb4c101e3
5 changed files with 43 additions and 7 deletions

View File

@@ -26,7 +26,13 @@ export default {
reload: this.reload
}
},
mounted(){
window['getMessage'] = this.getMessage(1)
},
methods: {
getMessage(data){
this.$store.commit('updateMessageStatus',data )
},
reload() {
this.isRouterAlive = false
this.$nextTick(() => {