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