修复异常
This commit is contained in:
@@ -20,7 +20,8 @@ export default {
|
|||||||
...mapActions(['injectJWeixin'])
|
...mapActions(['injectJWeixin'])
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.injectJWeixin().then(() => {
|
if (window?.WWOpenData) WWOpenData.bind(this.$el)
|
||||||
|
else this.injectJWeixin().then(() => {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
WWOpenData.bind(this.$el)
|
WWOpenData.bind(this.$el)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user