Commit ea4bfd65 by 前端

commit

1 parent 8b4d0057
......@@ -35,14 +35,19 @@ export default {
}
},
mounted() {
this.initWx()
this.id = window.localStorage.getItem('dj_scrm_id') ? JSON.parse(window.localStorage.getItem('dj_scrm_id')) : 0
this.getReportId()
wxConfig.hideOptionMenu()
},
methods: {
initWx() {
window.$wx = wxConfig
window.$wx.init(['hideOptionMenu']).then(() => {})
},
getReportId() {
poster.getReportId({ id: this.id }).then(res => {
this.batterData = res
window.$wx.hideOptionMenu()
})
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!