From d0e31e6cb1ea0b38d4ebd5f938d4bc5886b6196b Mon Sep 17 00:00:00 2001 From: yanyilin Date: Wed, 24 Jan 2024 22:54:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4Element=E4=B8=BAUniElement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/template/drop-card/card/card.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/template/drop-card/card/card.uvue b/pages/template/drop-card/card/card.uvue index a869a33b..42cc8b08 100644 --- a/pages/template/drop-card/card/card.uvue +++ b/pages/template/drop-card/card/card.uvue @@ -80,8 +80,8 @@ }, // 工具方法,用于快速设置 Element 的 style setElementStyle(refName : string, propertyName : string, propertyStyle : any) : void { - const elementMap = this.$data['$elementMap'] as Map - let element : Element | null = elementMap.get(refName) + const elementMap = this.$data['$elementMap'] as Map + let element : UniElement | null = elementMap.get(refName) if (element == null) { element = this.$refs[refName] as UniElement; elementMap.set(refName, element) -- GitLab