From 13ccdc4fff2ba4a070172025dbe4dcdd8fb4db5f Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 16 Dec 2021 15:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AiOpenData.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/AiOpenData.vue b/src/components/AiOpenData.vue index 4c73be46..c4d5ed6b 100644 --- a/src/components/AiOpenData.vue +++ b/src/components/AiOpenData.vue @@ -24,10 +24,12 @@ export default { WWOpenData.bind(this.$el) }, fail: () => { - this.$initWxOpenData(WWOpenData => { + this.injectJWeixin().then(() => { WWOpenData.bind(this.$el) }) } + }) || this.injectJWeixin().then(() => { + WWOpenData.bind(this.$el) }) } },