From db20593592094a5154bef14dbe20980492a4978a Mon Sep 17 00:00:00 2001 From: VK <370725567@qq.com> Date: Fri, 26 May 2023 16:30:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=80=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/vk-uview-ui/components/u-parse/libs/trees.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uni_modules/vk-uview-ui/components/u-parse/libs/trees.vue b/uni_modules/vk-uview-ui/components/u-parse/libs/trees.vue index 98ce400..4e738a8 100644 --- a/uni_modules/vk-uview-ui/components/u-parse/libs/trees.vue +++ b/uni_modules/vk-uview-ui/components/u-parse/libs/trees.vue @@ -90,8 +90,8 @@ sub: 1, sup: 1 } - let global = {}; - global.Parser = {}; + let globalData = {}; + globalData.Parser = {}; //import trees from './trees' import cfg from '../libs/config.js' const errorImg = cfg.errorImg; @@ -204,7 +204,7 @@ src: attrs.src, ignore: () => preview = false }; - global.Parser.onImgtap && global.Parser.onImgtap(data); + globalData.Parser.onImgtap && globalData.Parser.onImgtap(data); this.top.$emit('imgtap', data); if (preview) { var urls = this.top.imgList, @@ -244,7 +244,7 @@ var jump = true, attrs = e.currentTarget.dataset.attrs; attrs.ignore = () => jump = false; - global.Parser.onLinkpress && global.Parser.onLinkpress(attrs); + globalData.Parser.onLinkpress && globalData.Parser.onLinkpress(attrs); this.top.$emit('linkpress', attrs); if (jump) { // #ifdef MP -- GitLab