From 945faf35367f94ee49c3fdce5b44e2476bc648c1 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 21 Mar 2022 10:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BEapi=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83=E6=8E=88=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AiTMap.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/AiTMap.vue b/src/components/AiTMap.vue index 27605fbc..a38e50f6 100644 --- a/src/components/AiTMap.vue +++ b/src/components/AiTMap.vue @@ -32,10 +32,16 @@ export default { */ lib: Object, }, - computed: {...mapState(['config'])}, + computed: { + ...mapState(['config']), + key() { + return process.env.NODE_ENV == "production" ? + "RWWBZ-64BEJ-MVLFJ-FTHLQ-JTR6J-SAB2S" : + "3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY" + } + }, data() { return { - key: "3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY", tmap: null, mapLib: null }