Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -20,13 +20,10 @@ export default {
|
||||
...mapActions(['injectJWeixin'])
|
||||
},
|
||||
mounted() {
|
||||
this.injectJWeixin().then(() => {
|
||||
if (window?.WWOpenData) WWOpenData.bind(this.$el)
|
||||
else this.injectJWeixin().then(() => {
|
||||
this.$nextTick(() => {
|
||||
WWOpenData.bind(this.$el)
|
||||
WWOpenData.on('error', res => {
|
||||
console.log(res)
|
||||
})
|
||||
WWOpenData.on('update', res => {
|
||||
console.log(res)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user